AStreamDecoratorTrait
Table of Contents
-
__call()
: mixed
-
__construct()
: mixed
-
__get()
: mixed
-
__toString()
: mixed
-
close()
: mixed
-
detach()
: mixed
-
eof()
: bool
-
getContents()
: string
-
getMetadata()
: mixed
-
getSize()
: int|null
-
isReadable()
: bool
-
isSeekable()
: bool
-
isWritable()
: bool
-
read()
: string
-
rewind()
: mixed
-
seek()
: mixed
-
tell()
: int
-
write()
: int
-
createStream()
: mixed
__call()
public
__call(mixed $method, array<string|int, mixed> $args) : mixed
Parameters
-
$method
: mixed
-
-
$args
: array<string|int, mixed>
-
Return values
mixed
—
__construct()
public
__construct(StreamInterface $stream) : mixed
Parameters
-
$stream
: StreamInterface
-
Return values
mixed
—
__get()
public
__get(mixed $name) : mixed
Parameters
-
$name
: mixed
-
Return values
mixed
—
__toString()
public
__toString() : mixed
Return values
mixed
—
close()
public
close() : mixed
Return values
mixed
—
detach()
public
detach() : mixed
Return values
mixed
—
eof()
public
eof() : bool
Return values
bool
—
getContents()
public
getContents() : string
Return values
string
—
public
getMetadata([mixed $key = null ]) : mixed
Parameters
-
$key
: mixed
= null
-
Return values
mixed
—
getSize()
public
getSize() : int|null
Return values
int|null
—
isReadable()
public
isReadable() : bool
Return values
bool
—
isSeekable()
public
isSeekable() : bool
Return values
bool
—
isWritable()
public
isWritable() : bool
Return values
bool
—
read()
public
read(int $length) : string
Parameters
-
$length
: int
-
Return values
string
—
rewind()
public
rewind() : mixed
Return values
mixed
—
seek()
public
seek(int $offset[, int $whence = SEEK_SET ]) : mixed
Parameters
-
$offset
: int
-
-
$whence
: int
= SEEK_SET
-
Return values
mixed
—
tell()
public
tell() : int
Return values
int
—
write()
public
write(string $string) : int
Parameters
-
$string
: string
-
Return values
int
—
createStream()
protected
createStream() : mixed
Return values
mixed
—