DroppingStream
in package
implements
StreamInterface
Uses
AStreamDecoratorTrait
Interfaces, Classes, Traits and Enums
- StreamInterface
- Describes a data stream.
Table of Contents
- $maxLength : mixed
- __call() : mixed
- __construct() : mixed
- __get() : mixed
- __toString() : mixed
- close() : mixed
- detach() : mixed
- eof() : mixed
- getContents() : mixed
- getMetadata() : mixed
- getSize() : mixed
- isReadable() : mixed
- isSeekable() : mixed
- isWritable() : mixed
- read() : mixed
- rewind() : mixed
- seek() : mixed
- tell() : mixed
- write() : int
- Write data to the stream.
- createStream() : mixed
Properties
$maxLength
private
mixed
$maxLength
Methods
__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 $maxLength) : mixed
Parameters
- $stream : StreamInterface
- $maxLength : mixed
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() : mixed
Return values
mixed —getContents()
public
getContents() : mixed
Return values
mixed —getMetadata()
public
getMetadata([mixed $key = null ]) : mixed
Parameters
- $key : mixed = null
Return values
mixed —getSize()
public
getSize() : mixed
Return values
mixed —isReadable()
public
isReadable() : mixed
Return values
mixed —isSeekable()
public
isSeekable() : mixed
Return values
mixed —isWritable()
public
isWritable() : mixed
Return values
mixed —read()
public
read(mixed $length) : mixed
Parameters
- $length : mixed
Return values
mixed —rewind()
public
rewind() : mixed
Return values
mixed —seek()
public
seek(mixed $offset[, mixed $whence = SEEK_SET ]) : mixed
Parameters
- $offset : mixed
- $whence : mixed = SEEK_SET
Return values
mixed —tell()
public
tell() : mixed
Return values
mixed —write()
Write data to the stream.
public
write(mixed $string) : int
Parameters
- $string : mixed
-
The string that is to be written.
Return values
int —Returns the number of bytes written to the stream.
createStream()
protected
createStream() : mixed