for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Thruster\Component\Stream;
/**
* Class ReadableStream
*
* @package Thruster\Component\Stream
* @author Aurimas Niekis <[email protected]>
*/
class ReadableStream extends BaseStream implements ReadableStreamInterface
{
public function __construct()
$this->closed = false;
}
* {@inheritDoc}
public function isReadable() : bool
return !$this->closed;
public function pause() : self
return $this;
public function resume() : self
public function pipe(WritableStreamInterface $dest, array $options = [])
$this->pipeAll($this, $dest, $options);
return $dest;