PHP Interface Jarves\Filesystem\Adapter\AdapterInterface

Show file Open project: jarves/jarves Interface Usage Examples

Public Methods

Method Description
copy ( $path, $newPath )
delete ( $path )
filemtime ( $path )
getCount ( string $path ) : integer
getFile ( string $path ) : FileInfo
getFiles ( $path )
getMountPath ( )
has ( $path )
hash ( $path )
loadConfig ( )
mkdir ( $path )
move ( $source, $target )
read ( $path )
setMountPath ( $path )
write ( $path, $content = '' )

Method Details

copy() public method

public copy ( $path, $newPath )

delete() public method

public delete ( $path )

filemtime() public method

public filemtime ( $path )

getCount() public method

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

getFile() public method

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

getFiles() public method

public getFiles ( $path )

getMountPath() public method

public getMountPath ( )

has() public method

public has ( $path )

hash() public method

public hash ( $path )

loadConfig() public method

public loadConfig ( )

mkdir() public method

public mkdir ( $path )

move() public method

public move ( $source, $target )

read() public method

public read ( $path )

setMountPath() public method

public setMountPath ( $path )

write() public method

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