StreamWrapper
class StreamWrapper (View source)
Wraps PSR-7 Stream to a regular PHP stream resource using the PHP streamWriter protocol
Largely inspired by the Guzzle StreamWrapper class.
Constants
| WRAPPER_SCHEME |
|
| WRAPPER_URI |
|
Properties
| resource | $context |
Methods
__construct()
No description
bool
stream_open(string $path, string $mode, int $options, string $unused_opened_path = null)
No description
string
stream_read(int $count)
No description
int
stream_write(string $data)
No description
int
stream_tell()
No description
bool
stream_eof()
No description
bool
stream_seek(int $offset, int $whence)
No description
boolean|resource|false
stream_cast(int $cast_as)
No description
array
stream_stat()
No description
array
url_stat(string $path, int $flags)
No description