$globCache
$globCache : array
The cache of globbed paths.
Path-handling utilities
Requirements:
DIRECTORY_SEPARATORS class constant.DEFAULT_BASENAME class constant.self::parseAsArray()filterPath(string $path, string|null $trim = null) : string
Filter the given path.
Trims leading and trailing directory paths
| string | $path | Path to the file or directory. |
| string|null | $trim | The characters to strip from the $path. |
If the path is invalid.
Returns the filtered path.
filterWritablePath(string $path, string|null $name = null) : string
Filter the given path to be writable.
| string | $path | A writable path to a file or directory. |
| string|null | $name | The target file name. |
If the path is invalid.
Returns the filtered path.