PHP Interface Jarves\Filesystem\FilesystemInterface

Datei anzeigen Open project: jarves/jarves Interface Usage Examples

Public Methods

Method 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 method

public copy ( $source, $target )

delete() public method

public delete ( $path )

getAdapter() public method

public getAdapter ( ) : Jarves\Filesystem\Adapter\AdapterInterface
return Jarves\Filesystem\Adapter\AdapterInterface

getCount() public method

public getCount ( string $path ) : integer
$path string
return integer

getFile() public method

public getFile ( string $path ) : Jarves\File\FileInfoInterface
$path string
return Jarves\File\FileInfoInterface

getFiles() public method

public getFiles ( string $path ) : Jarves\File\FileInfoInterface[]
$path string
return Jarves\File\FileInfoInterface[]

has() public method

public has ( $path )

mkdir() public method

public mkdir ( $path )

move() public method

public move ( $source, $target )

read() public method

public read ( $path )

rename() public method

public rename ( $source, $target )

write() public method

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