Handler
in package
Tags
Table of Contents
- $filesystem : FilesystemInterface
- $path : string
- __call() : mixed
- Plugins pass-through.
- __construct() : mixed
- Constructor.
- getFilesystem() : FilesystemInterface
- Retrieve the Filesystem object.
- getPath() : string
- Retrieve the entree path.
- getType() : string
- Retrieve the entree type (file|dir).
- isDir() : bool
- Check whether the entree is a directory.
- isFile() : bool
- Check whether the entree is a file.
- setFilesystem() : $this
- Set the Filesystem object.
- setPath() : $this
- Set the entree path.
Properties
$filesystem
protected
FilesystemInterface
$filesystem
$path
protected
string
$path
Methods
__call()
Plugins pass-through.
public
__call(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<string|int, mixed>
Return values
mixed —__construct()
Constructor.
public
__construct([FilesystemInterface $filesystem = null ][, string $path = null ]) : mixed
Parameters
- $filesystem : FilesystemInterface = null
- $path : string = null
Return values
mixed —getFilesystem()
Retrieve the Filesystem object.
public
getFilesystem() : FilesystemInterface
Return values
FilesystemInterface —getPath()
Retrieve the entree path.
public
getPath() : string
Return values
string —path
getType()
Retrieve the entree type (file|dir).
public
getType() : string
Return values
string —file or dir
isDir()
Check whether the entree is a directory.
public
isDir() : bool
Return values
bool —isFile()
Check whether the entree is a file.
public
isFile() : bool
Return values
bool —setFilesystem()
Set the Filesystem object.
public
setFilesystem(FilesystemInterface $filesystem) : $this
Parameters
- $filesystem : FilesystemInterface
Return values
$this —setPath()
Set the entree path.
public
setPath(string $path) : $this
Parameters
- $path : string