| 1 | <?php |
||
| 16 | final class StreamFactory implements StreamFactoryInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @inheritdoc |
||
| 20 | */ |
||
| 21 | public function createStream(string $content = ''): StreamInterface |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @inheritdoc |
||
| 31 | */ |
||
| 32 | public function createStreamFromFile(string $file, string $mode = 'r'): StreamInterface |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @inheritdoc |
||
| 40 | */ |
||
| 41 | public function createStreamFromResource($resource): StreamInterface |
||
| 45 | } |