ITempManager
Interface ITempManager
Tags
Table of Contents
- 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
Return values
mixed —cleanOld()
Remove old temporary files and folders that were failed to be cleaned
public
cleanOld() : mixed
Tags
Return values
mixed —getTempBaseDir()
Get the temporary base directory
public
getTempBaseDir() : string
Tags
Return values
string —getTemporaryFile()
Create a temporary file and return the path
public
getTemporaryFile([string $postFix = '' ]) : string
Parameters
- $postFix : string = ''
Tags
Return values
string —getTemporaryFolder()
Create a temporary folder and return the path
public
getTemporaryFolder([string $postFix = '' ]) : string
Parameters
- $postFix : string = ''