ILIAS  release_7 Revision v7.30-3-g800a261c036
FileStreamRevision.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
4
8
14{
15
19 private $stream;
23 protected $keep_original = true;
24
29 {
30 $this->stream = $stream;
31 $this->keep_original = $keep_original;
35 }
36
40 public function getStream() : FileStream
41 {
42 return $this->stream;
43 }
44
48 public function keepOriginal() : bool
49 {
51 }
52
53}
An exception for terminatinating execution or to throw for unit testing.
setInformation(Information $information)
__construct(ResourceIdentification $identification, FileStream $stream, bool $keep_original=false)
@inheritDoc
Interface FileStream The base interface for all filesystem streams.
Definition: FileStream.php:18
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc