interface Pike\Interfaces\FileSystemInterface
Rajapinta jonka Pikessä käytettävät tiedostonhallintaluokkien tulee implementoida. Katso myös FileSystem.
Synopsis
interface FileSystemInterface {
/* Metodit */
public write ( string $path, string $content ) : int|false
public read ( string $path ) : string|false
public unlink ( string $path ) : bool
public copy ( string $path, string $destPath ) : bool
public rename ( string $oldPath, string $newPath ) : bool
public move ( string $oldPath, string $newPath ) : bool
public mkDir ( string $path, int $perms = 0755, bool $recursive = true ) : bool
public rmDir ( string $path, resource $context = null ) : bool
public isFile ( string $path ) : bool
public isDir ( string $path ) : bool
public readDir ( string $path, string $filterPattern = '*', int $flags = GLOB_ERR); string[]|false
public readDirRecursive ( string $path, string $filterRegexp = '/.*/' ) : array
public lastModTime ( string $path ) : int|false
}