Zend Framework
3.0
|
Implementation of PSR HTTP streams. More...
Public Member Functions | |
__construct ($stream, $mode= 'r') | |
__toString () | |
{} | |
close () | |
{} | |
detach () | |
{} | |
attach ($resource, $mode= 'r') | |
Attach a new stream/resource to the instance. | |
getSize () | |
{} | |
tell () | |
{} | |
eof () | |
{} | |
isSeekable () | |
{} | |
seek ($offset, $whence=SEEK_SET) | |
{} | |
rewind () | |
{} | |
isWritable () | |
{} | |
write ($string) | |
{} | |
isReadable () | |
{} | |
read ($length) | |
{} | |
getContents () | |
{} | |
getMetadata ($key=null) | |
{} | |
Protected Attributes | |
$resource | |
$stream | |
Implementation of PSR HTTP streams.
__construct | ( | $stream, | |
$mode = 'r' |
|||
) |
string | resource | $stream | |
string | $mode | Mode with which to open stream |
InvalidArgumentException |
__toString | ( | ) |
{}
attach | ( | $resource, | |
$mode = 'r' |
|||
) |
Attach a new stream/resource to the instance.
string | resource | $resource | |
string | $mode |
InvalidArgumentException | for stream identifier that cannot be cast to a resource |
InvalidArgumentException | for non-resource stream |
close | ( | ) |
{}
detach | ( | ) |
{}
eof | ( | ) |
{}
getContents | ( | ) |
{}
getMetadata | ( | $key = null | ) |
{}
getSize | ( | ) |
{}
isReadable | ( | ) |
{}
isSeekable | ( | ) |
{}
isWritable | ( | ) |
{}
read | ( | $length | ) |
{}
rewind | ( | ) |
{}
seek | ( | $offset, | |
$whence = SEEK_SET |
|||
) |
{}
tell | ( | ) |
{}
write | ( | $string | ) |
{}
|
protected |
|
protected |