ListPaths
extends AbstractPlugin
in package
Table of Contents
- $filesystem : FilesystemInterface
- getMethod() : string
- Get the method name.
- handle() : array<string|int, string>
- List all paths.
- setFilesystem() : mixed
- Set the Filesystem object.
Properties
$filesystem
protected
FilesystemInterface
$filesystem
Methods
getMethod()
Get the method name.
public
getMethod() : string
Return values
string —handle()
List all paths.
public
handle([string $directory = '' ][, bool $recursive = false ]) : array<string|int, string>
Parameters
- $directory : string = ''
- $recursive : bool = false
Return values
array<string|int, string> —paths
setFilesystem()
Set the Filesystem object.
public
setFilesystem(FilesystemInterface $filesystem) : mixed
Parameters
- $filesystem : FilesystemInterface