PHP Interface Jarves\Filesystem\FilesystemInterface

Afficher le fichier Open project: jarves/jarves Interface Usage Examples

Méthodes publiques

Méthode Description
copy ( $source, $target )
delete ( $path )
getAdapter ( ) : Jarves\Filesystem\Adapter\AdapterInterface
getCount ( string $path ) : integer
getFile ( string $path ) : Jarves\File\FileInfoInterface
getFiles ( string $path ) : Jarves\File\FileInfoInterface[]
has ( $path )
mkdir ( $path )
move ( $source, $target )
read ( $path )
rename ( $source, $target )
write ( $path, $content = '' )

Method Details

copy() public méthode

public copy ( $source, $target )

delete() public méthode

public delete ( $path )

getAdapter() public méthode

public getAdapter ( ) : Jarves\Filesystem\Adapter\AdapterInterface
Résultat Jarves\Filesystem\Adapter\AdapterInterface

getCount() public méthode

public getCount ( string $path ) : integer
$path string
Résultat integer

getFile() public méthode

public getFile ( string $path ) : Jarves\File\FileInfoInterface
$path string
Résultat Jarves\File\FileInfoInterface

getFiles() public méthode

public getFiles ( string $path ) : Jarves\File\FileInfoInterface[]
$path string
Résultat Jarves\File\FileInfoInterface[]

has() public méthode

public has ( $path )

mkdir() public méthode

public mkdir ( $path )

move() public méthode

public move ( $source, $target )

read() public méthode

public read ( $path )

rename() public méthode

public rename ( $source, $target )

write() public méthode

public write ( $path, $content = '' )