EmptyDir
extends AbstractPlugin
in package
Table of Contents
- $filesystem : FilesystemInterface
- getMethod() : string
- Get the method name.
- handle() : mixed
- Empty a directory's contents.
- setFilesystem() : mixed
- Set the Filesystem object.
Properties
$filesystem
protected
FilesystemInterface
$filesystem
Methods
getMethod()
Get the method name.
public
getMethod() : string
Return values
string —handle()
Empty a directory's contents.
public
handle(string $dirname) : mixed
Parameters
- $dirname : string
Return values
mixed —setFilesystem()
Set the Filesystem object.
public
setFilesystem(FilesystemInterface $filesystem) : mixed
Parameters
- $filesystem : FilesystemInterface