Property | Type | Description | |
---|---|---|---|
$_directory | string | name of the directory | |
$_directoryArray | array | array of the directory | |
$_directoryCache | array | static directory cache | |
$_excludeArray | array | files to be excluded |
Method | Description | |
---|---|---|
clear ( ) | clear the directory | |
create ( string $directory = null, integer $mode = 511 ) | create the directory | |
getArray ( ) : array | get the directory array | |
init ( string $directory = null, array $excludeArray = [] ) | init the class | |
put ( string $path = null, string $content = null ) | put content to file | |
remove ( string $path = null ) | remove the path |
Method | Description | |
---|---|---|
_remove ( string $path = null ) | remove the path | |
_scan ( string $directory = null ) : array | scan the directory |
protected array $_directoryArray | ||
return | array |
protected static array $_directoryCache | ||
return | array |
protected array $_excludeArray | ||
return | array |