for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Spiral Framework.
*
* @license MIT
* @author Anton Titov (Wolfy-J)
*/
declare(strict_types=1);
namespace Spiral\Tests\Http;
use Psr\Http\Message\StreamInterface;
use Spiral\Streams\StreamableInterface;
class Streamable implements StreamableInterface
{
private $stream;
public function __construct(StreamInterface $stream)
$this->stream = $stream;
}
* @return StreamInterface
public function getStream(): StreamInterface
return $this->stream;