FileInterface
extends
NodeInterface
in
Table of Contents
- basename() : string
- delete() : bool
- filename() : string
- isWritable() : bool
- mime() : string
- move() : FileInterface
- read() : string
- up() : NodeInterface
- uri() : string
- write() : bool
Methods
basename()
public
basename() : string
Return values
string —delete()
public
delete() : bool
Return values
bool —filename()
public
filename() : string
Return values
string —isWritable()
public
isWritable() : bool
Return values
bool —mime()
public
mime() : string
Return values
string —move()
public
move(DirectoryInterface $to, string $name) : FileInterface
Parameters
- $to : DirectoryInterface
- $name : string
Return values
FileInterface —read()
public
read() : string
Return values
string —up()
public
up() : NodeInterface
Return values
NodeInterface —uri()
public
uri() : string
Return values
string —write()
public
write(string $data) : bool
Parameters
- $data : string