File
in package
implements
FileInterface, StreamSourceInterface, StreamTargetInterface
Interfaces, Classes and Traits
Table of Contents
- $parent : mixed
- $path : mixed
- __construct() : mixed
- basename() : string
- delete() : bool
- filename() : string
- getPath() : mixed
- getStreamReader() : StreamReaderInterface
- getStreamWriter() : StreamWriterInterface
- isWritable() : bool
- mime() : string
- move() : FileInterface
- read() : string
- up() : NodeInterface
- uri() : string
- write() : bool
Properties
$parent
private
mixed
$parent
$path
private
mixed
$path
Methods
__construct()
public
__construct(mixed $_1[, mixed $_2 = null ]) : mixed
Parameters
- $_1 : mixed
- $_2 : mixed = null
Return values
mixed —basename()
public
basename() : string
Return values
string —delete()
public
delete() : bool
Return values
bool —filename()
public
filename() : string
Return values
string —getPath()
public
getPath() : mixed
Return values
mixed —getStreamReader()
public
getStreamReader() : StreamReaderInterface
Return values
StreamReaderInterface —getStreamWriter()
public
getStreamWriter() : StreamWriterInterface
Return values
StreamWriterInterface —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