Class FileSystem
This class has utilities to manage the file system, for missing functions in PHP
- Hawk\Singleton
-
Hawk\FileSystem
Methods summary
public
array
|
|
public
|
|
public
array
|
#
find( string $source, string $pattern, string $type =
Find files by a pattern |
public
boolean,
|
Methods inherited from Hawk\Singleton
Constants summary
string |
DS
Directory separator |
#
DIRECTORY_SEPARATOR
|
string |
FIND_FILE_ONLY
Constant to find only files in Filsystem::find |
#
'file'
|
string |
FIND_DIR_ONLY
Constant to find only directories in Filsystem::find |
#
'dir'
|
string |
FIND_ANY_TYPE
Constant to find both files and directories in Filsystem::find |
#
'any'
|