Метод |
Описание |
|
copy ( string $source, string $target ) : boolean |
Copies a file. |
|
copyDir ( string $source, string $target ) : boolean |
Copies a directory. |
|
delete ( string | array $files ) : boolean |
Deletes a file. |
|
exists ( string | array $files ) : boolean |
Checks whether a file or directory exists. |
|
getAdapter ( string $protocol ) : Pagekit\Filesystem\Adapter\AdapterInterface | null |
Gets a adapter. |
|
getPath ( string $file, boolean $local = false ) : string | false |
Gets canonicalized file path or localpath. |
|
getPathInfo ( string $file, string $option = null ) : string | array |
Gets file path info. |
|
getUrl ( string $file, mixed $referenceType = UrlGenerator::ABSOLUTE_PATH ) : string | false |
Gets file path URL. |
|
listDir ( string $dir ) : array |
List files and directories inside the specified path. |
|
makeDir ( string $dir, integer $mode = 511, boolean $recursive = true ) : boolean |
Makes a directory. |
|
registerAdapter ( string $protocol, Pagekit\Filesystem\Adapter\AdapterInterface $adapter ) |
Registers a adapter. |
|