WaitingStream
implements
StreamInterface
uses
StreamDecoratorTrait
Table of Contents
Interfaces
- StreamInterface
Methods
-
__construct()
: mixed
-
isReadable()
: mixed
-
isSeekable()
: mixed
-
isWritable()
: mixed
-
read()
: mixed
-
seek()
: mixed
-
write()
: mixed
__construct()
public
__construct(StreamInterface $stream, int $waitInMicroseconds[, array<string|int, mixed> $heartbeat = null ]) : mixed
Parameters
-
$stream
: StreamInterface
-
-
$waitInMicroseconds
: int
-
-
$heartbeat
: array<string|int, mixed>
= null
-
isReadable()
public
isReadable() : mixed
isSeekable()
public
isSeekable() : mixed
isWritable()
public
isWritable() : mixed
read()
public
read(mixed $length) : mixed
Parameters
-
$length
: mixed
-
seek()
public
seek(mixed $offset[, mixed $whence = SEEK_SET ]) : mixed
Parameters
-
$offset
: mixed
-
-
$whence
: mixed
= SEEK_SET
-
write()
public
write(mixed $string) : mixed
Parameters
-
$string
: mixed
-