ITempManager
in
Interface ITempManager
Tags
Table of Contents
Methods
- clean() : mixed
- Remove the temporary files and folders generated during this request
- cleanOld() : mixed
- Remove old temporary files and folders that were failed to be cleaned
- getTempBaseDir() : string
- Get the temporary base directory
- getTemporaryFile() : string
- Create a temporary file and return the path
- getTemporaryFolder() : string
- Create a temporary folder and return the path
Methods
clean()
Remove the temporary files and folders generated during this request
public
clean() : mixed
Tags
cleanOld()
Remove old temporary files and folders that were failed to be cleaned
public
cleanOld() : mixed
Tags
getTempBaseDir()
Get the temporary base directory
public
getTempBaseDir() : string
Tags
Return values
stringgetTemporaryFile()
Create a temporary file and return the path
public
getTemporaryFile([string $postFix = '' ]) : string
Parameters
- $postFix : string = ''
Tags
Return values
stringgetTemporaryFolder()
Create a temporary folder and return the path
public
getTemporaryFolder([string $postFix = '' ]) : string
Parameters
- $postFix : string = ''