ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
StreamFactoryInterface.php
Go to the documentation of this file.
1<?php
2
3namespace Psr\Http\Message;
4
6{
16 public function createStream(string $content = ''): StreamInterface;
17
33 public function createStreamFromFile(string $filename, string $mode = 'r'): StreamInterface;
34
44 public function createStreamFromResource($resource): StreamInterface;
45}
$filename
Definition: buildRTE.php:89
An exception for terminatinating execution or to throw for unit testing.
createStreamFromResource($resource)
Create a new stream from an existing resource.
createStream(string $content='')
Create a new stream from a string.
createStreamFromFile(string $filename, string $mode='r')
Create a stream from an existing file.
Describes a data stream.