ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Converts Guzzle streams into PHP stream resources. More...
Public Member Functions | |
stream_open ($path, $mode, $options, &$opened_path) | |
stream_read ($count) | |
stream_write ($data) | |
stream_tell () | |
stream_eof () | |
stream_seek ($offset, $whence) | |
stream_stat () | |
Static Public Member Functions | |
static | getResource (StreamInterface $stream) |
Returns a resource representing the stream. More... | |
static | register () |
Registers the stream wrapper if needed. More... | |
Data Fields | |
$context | |
Private Attributes | |
$stream | |
$mode | |
Converts Guzzle streams into PHP stream resources.
Definition at line 9 of file StreamWrapper.php.
|
static |
Returns a resource representing the stream.
StreamInterface | $stream | The stream to get a resource for |
Definition at line 28 of file StreamWrapper.php.
References GuzzleHttp\Psr7\StreamWrapper\$mode, Psr\Http\Message\StreamInterface\isReadable(), and Psr\Http\Message\StreamInterface\isWritable().
Referenced by GuzzleHttp\Psr7\InflateStream\__construct().
|
static |
Registers the stream wrapper if needed.
Definition at line 49 of file StreamWrapper.php.
GuzzleHttp\Psr7\StreamWrapper::stream_eof | ( | ) |
Definition at line 85 of file StreamWrapper.php.
GuzzleHttp\Psr7\StreamWrapper::stream_open | ( | $path, | |
$mode, | |||
$options, | |||
& | $opened_path | ||
) |
Definition at line 56 of file StreamWrapper.php.
References GuzzleHttp\Psr7\StreamWrapper\$mode, and $options.
GuzzleHttp\Psr7\StreamWrapper::stream_read | ( | $count | ) |
Definition at line 70 of file StreamWrapper.php.
GuzzleHttp\Psr7\StreamWrapper::stream_seek | ( | $offset, | |
$whence | |||
) |
Definition at line 90 of file StreamWrapper.php.
GuzzleHttp\Psr7\StreamWrapper::stream_stat | ( | ) |
GuzzleHttp\Psr7\StreamWrapper::stream_tell | ( | ) |
Definition at line 80 of file StreamWrapper.php.
GuzzleHttp\Psr7\StreamWrapper::stream_write | ( | $data | ) |
GuzzleHttp\Psr7\StreamWrapper::$context |
Definition at line 12 of file StreamWrapper.php.
|
private |
Definition at line 18 of file StreamWrapper.php.
Referenced by GuzzleHttp\Psr7\StreamWrapper\getResource(), GuzzleHttp\Psr7\StreamWrapper\stream_open(), and GuzzleHttp\Psr7\StreamWrapper\stream_stat().
|
private |
Definition at line 15 of file StreamWrapper.php.