A file stream object.
package | filicious-core |
---|---|
author | Christian Schiffler |
author | Tristan Lins |
author | Oliver Hoff |
__construct(string $url, \Filicious\Internals\Pathname $file)
string
cast(int $as) : resource | boolean
int
resource
boolean
close()
eof() : boolean
boolean
flush() : boolean
boolean
getResource() : resource
resource
lock(\Filicious\Stream\mode $operation) : bool
open(\Filicious\Stream\StreamMode $mode)
read(int $count) : string
int
string
seek(int $offset, int $whence) : mixed
int
int
mixed
stat() : array
array
tell() : int
int
truncate(int $size) : boolean
int
boolean
write(string $data) : mixed
string
mixed
$resource : resource
$selfResource : resource
$streamIndex : null | int
$url : string