FileInterface
extends
NodeInterface
in
Directories, Files, Device entries etc are nodes
Table of Contents
- createSymlinkAs() : mixed
- delete() : mixed
- ensureFileExist() : FileInterface
- exists() : bool
- getAbsolutePath() : AbsolutePath
- getPathRelativeTo() : RelativePath
- isExecutable() : bool
- isLink() : bool
- isReadable() : bool
- isWriteable() : bool
- touch() : mixed
Methods
createSymlinkAs()
public
createSymlinkAs(PathInterface $path) : mixed
Parameters
- $path : PathInterface
Return values
mixed —delete()
public
delete() : mixed
Return values
mixed —ensureFileExist()
public
ensureFileExist() : FileInterface
Return values
FileInterface —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