Local filesystem adapter.
package | filicious-core |
---|---|
author | Christian Schiffler |
author | Tristan Lins |
author | Oliver Hoff |
__construct(string $basePath)
string
The local base pathname.
\Filicious\Exception\InvalidArgumentException |
---|
appendContents(\Filicious\Internals\Pathname $pathname, $content, $create)
createDirectory(\Filicious\Internals\Pathname $pathname, $parents)
createFile(\Filicious\Internals\Pathname $pathname, $parents)
delete(\Filicious\Internals\Pathname $pathname, $recursive, $force)
exists(\Filicious\Internals\Pathname $pathname)
getAccessTime(\Filicious\Internals\Pathname $pathname)
getBasePath() : string
string
getContents(\Filicious\Internals\Pathname $pathname)
getCreationTime(\Filicious\Internals\Pathname $pathname)
getFreeSpace(\Filicious\Internals\Pathname $pathname)
getGroup(\Filicious\Internals\Pathname $pathname)
getHash(\Filicious\Internals\Pathname $pathname, $algorithm, $binary)
getLinkTarget(\Filicious\Internals\Pathname $pathname)
getMimeEncoding(\Filicious\Internals\Pathname $pathname)
getMimeName(\Filicious\Internals\Pathname $pathname)
getMimeType(\Filicious\Internals\Pathname $pathname)
getMode(\Filicious\Internals\Pathname $pathname)
getModifyTime(\Filicious\Internals\Pathname $pathname)
getOwner(\Filicious\Internals\Pathname $pathname)
getSize(\Filicious\Internals\Pathname $pathname, $recursive)
getStream(\Filicious\Internals\Pathname $pathname)
getStreamURL(\Filicious\Internals\Pathname $pathname)
getTotalSpace(\Filicious\Internals\Pathname $pathname)
isDirectory(\Filicious\Internals\Pathname $pathname)
isExecutable(\Filicious\Internals\Pathname $pathname)
isFile(\Filicious\Internals\Pathname $pathname)
isLink(\Filicious\Internals\Pathname $pathname)
isReadable(\Filicious\Internals\Pathname $pathname)
isWritable(\Filicious\Internals\Pathname $pathname)
ls(\Filicious\Internals\Pathname $pathname)
nativeCopy(\Filicious\Internals\Pathname $srcPathname, \Filicious\Internals\Pathname $dstPathname)
nativeMove(\Filicious\Internals\Pathname $srcPathname, \Filicious\Internals\Pathname $dstPathname)
setAccessTime(\Filicious\Internals\Pathname $pathname, \DateTime $time)
setContents(\Filicious\Internals\Pathname $pathname, $content, $create)
setGroup(\Filicious\Internals\Pathname $pathname, $group)
setMode(\Filicious\Internals\Pathname $pathname, $mode)
setModifyTime(\Filicious\Internals\Pathname $pathname, \DateTime $time)
setOwner(\Filicious\Internals\Pathname $pathname, $user)
touch(\Filicious\Internals\Pathname $pathname, \DateTime $time, \DateTime $atime, $create)
truncate(\Filicious\Internals\Pathname $pathname, $size)
$basePath : string