DirectoryInterface
extends
NodeInterface
in
A unixoid filesystem directory
Directories, Files, Device entries etc are nodes Implement behaviour similar to FilesystemIterator, possibly wrapping it.
Table of Contents
- createIfMissing() : mixed
- createSubDir() : DirectoryInterface
- createSymlinkAs() : mixed
- deleteIfEmpty() : mixed
- deleteRecursively() : mixed
- exists() : bool
- getAbsolutePath() : AbsolutePath
- getPathRelativeTo() : RelativePath
- isExecutable() : bool
- isLink() : bool
- isReadable() : bool
- isWriteable() : bool
- touch() : mixed
Methods
createIfMissing()
public
createIfMissing() : mixed
Return values
mixed —createSubDir()
public
createSubDir(PathInterface $dir) : DirectoryInterface
Parameters
- $dir : PathInterface
Return values
DirectoryInterface —createSymlinkAs()
public
createSymlinkAs(PathInterface $path) : mixed
Parameters
- $path : PathInterface
Return values
mixed —deleteIfEmpty()
public
deleteIfEmpty() : mixed
Return values
mixed —deleteRecursively()
public
deleteRecursively() : mixed
Return values
mixed —exists()
public
exists() : bool
Return values
bool —getAbsolutePath()
public
getAbsolutePath() : AbsolutePath
Return values
AbsolutePath —getPathRelativeTo()
public
getPathRelativeTo(AbsolutePath $path) : RelativePath
Parameters
- $path : AbsolutePath
Return values
RelativePath —isExecutable()
public
isExecutable() : bool
Return values
bool —isLink()
public
isLink() : bool
Return values
bool —isReadable()
public
isReadable() : bool
Return values
bool —isWriteable()
public
isWriteable() : bool
Return values
bool —touch()
public
touch() : mixed