Lines Matching refs:StreamInterface
7 use Psr\Http\Message\StreamInterface; alias
73 …* @param resource|string|int|float|bool|StreamInterface|callable|\Iterator|null $resource Entity b…
76 * @return StreamInterface
187 * @param StreamInterface $stream Stream to read
197 function copy_to_string(StreamInterface $stream, $maxLen = -1)
206 * @param StreamInterface $source Stream to read from
207 * @param StreamInterface $dest Stream to write to
215 function copy_to_stream(StreamInterface $source, StreamInterface $dest, $maxLen = -1)
226 * @param StreamInterface $stream Stream to calculate the hash for
236 function hash(StreamInterface $stream, $algo, $rawOutput = false)
244 * @param StreamInterface $stream Stream to read from
251 function readline(StreamInterface $stream, $maxLength = null)