PHP stream implementation.
CloneableInstantiable
- Implements
Psr\Http\Message\StreamInterface Stringable
| Methods |
| public __construct( $stream, array $options = []) This constructor accepts an associative array of options.
|
| public __destruct() Closes the stream when the destructed |
| public __toString() : string |
| public close() : void |
| public detach() |
| public eof() : bool |
| public getContents() : string |
public getMetadata( $key = NULL)
|
| public getSize() : ?int |
| public isReadable() : bool |
| public isSeekable() : bool |
| public isWritable() : bool |
| public read( $length) : string |
| public rewind() : void |
| public seek( $offset, $whence = 0GuzzleHttp\Psr7\SEEK_SET) : void |
| public tell() : int |
| public write( $string) : int |
| Constants |
private GuzzleHttp
|
| private GuzzleHttp |
| Properties |
private $customMetadata = NULL
|
private $readable = NULL
|
private $seekable = NULL
|
private $size = NULL
|
private $stream = NULL
|
private $uri = NULL
|
private $writable = NULL
|