for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace One\Psr7;
/**
* StreamInterface Implementation class
*/
class Stream implements \Psr\Http\Message\StreamInterface
{
* Readble prop
* @var boolean
private $readable;
$readable
* Writeable prop
private $writeable;
$writeable
* Seekable prop
private $seekable;
$seekable
* Content of stream
* @var mixed
private $contents;
$contents
* Size of stream
* @var int
private $size;
$size
* @inheritDoc
public function __toString()
}
public function close()
public function detach()
public function getSize()
public function tell()
public function eof()
public function isSeekable()
public function seek($offset, $whence = SEEK_SET)
public function rewind()
public function isWritable()
public function write($string)
public function isReadable()
public function read($length)
public function getContents()
public function getMetadata($key = null)