VolatileDirectory
class VolatileDirectory (View source)
Properties
protected Filesystem | $filesystem | The used Filesystem instance. |
|
protected string | $path | The path of this volatile directory. |
Methods
__construct(Filesystem $filesystem, string $parentDirectory)
Initializes the instance.
Filesystem
getFilesystem()
Get the used Filesystem instance.
string
getPath()
Get the absolute path of this volatile directory (always with '/' as directory separator, without the trailing '/').
__destruct()
Clear and delete this volatile directory.
Details
__construct(Filesystem $filesystem, string $parentDirectory)
Initializes the instance.
Filesystem
getFilesystem()
Get the used Filesystem instance.
string
getPath()
Get the absolute path of this volatile directory (always with '/' as directory separator, without the trailing '/').
__destruct()
Clear and delete this volatile directory.