for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Yiisoft\Yii\Web\Tests\Emitter\Support;
use Psr\Http\Message\StreamInterface;
class NotReadableStream implements StreamInterface
{
public function __toString(): string
throw new \RuntimeException();
}
public function close(): void
public function detach()
return null;
public function getSize(): ?int
public function tell(): int
public function eof(): bool
return false;
public function isSeekable(): bool
public function seek($offset, $whence = SEEK_SET): void
public function rewind(): void
public function isWritable(): bool
public function write($string): int
public function isReadable(): bool
public function read($length): string
public function getContents(): string
public function getMetadata($key = null)