__construct() __construct(array $data, mixed $resource) : mixed Stream constructor. Parameters array $data mixed $resource Returns mixed —
read() read(int|null $length) : string Parameters int|null $length Throws \Psc\Std\Stream\Exception\ConnectionException Returns string —
write() write(string $string) : int Parameters string $string Throws \Psc\Std\Stream\Exception\ConnectionException Returns int —
getMetadata() getMetadata(string|null $key = null) : mixed Parameters string|null $key Returns mixed —