Hazaar\File
Temp
Create a temporary file

This class will create and manage a temporary file that is stored in the application runtime directory in a subdirectory called 'temp'. The file is not stateful, meaning it can only be used for the lifetime of the execution and once the file object falls out of scope it will be deleted automatically.

Summary
MethodsPropertiesConstants
No propertiesNo constants
Methods
__construct()
__construct($name = null)
Temporary file constructor
__destruct()
__destruct()
Temporary file destructor

This method will clean up the file on disk when the object falls out of scope.