|
| stream_cast (int $cast_as) |
|
| stream_eof () |
|
| stream_open (string $path, string $mode, int $options, string &$opened_path=null) |
|
| stream_read (int $count) |
|
| stream_seek (int $offset, int $whence) |
|
| stream_stat () |
|
| stream_tell () |
|
| stream_write (string $data) |
|
| url_stat (string $path, int $flags) |
|
◆ createStreamContext()
static GuzzleHttp\Psr7\StreamWrapper::createStreamContext |
( |
StreamInterface | $stream | ) |
|
|
static |
Creates a stream context that can be used to open a stream as a php stream resource.
- Return values
-
◆ getResource()
static GuzzleHttp\Psr7\StreamWrapper::getResource |
( |
StreamInterface | $stream | ) |
|
|
static |
Returns a resource representing the stream.
- Parameters
-
StreamInterface | $stream | The stream to get a resource for |
- Return values
-
- Exceptions
-
InvalidArgumentException | if stream is not readable or writable |
◆ stream_cast()
GuzzleHttp\Psr7\StreamWrapper::stream_cast |
( |
int | $cast_as | ) |
|
◆ stream_stat()
GuzzleHttp\Psr7\StreamWrapper::stream_stat |
( |
| ) |
|
- Return values
-
array{ | dev: int, ino: int, mode: int, nlink: int, uid: int, gid: int, rdev: int, size: int, atime: int, mtime: int, ctime: int, blksize: int, blocks: int } |
◆ url_stat()
GuzzleHttp\Psr7\StreamWrapper::url_stat |
( |
string | $path, |
|
|
int | $flags ) |
- Return values
-
array{ | dev: int, ino: int, mode: int, nlink: int, uid: int, gid: int, rdev: int, size: int, atime: int, mtime: int, ctime: int, blksize: int, blocks: int } |
The documentation for this class was generated from the following file:
- lib/guzzlehttp/psr7/src/StreamWrapper.php