ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
FileStreamRevision.php
Go to the documentation of this file.
1 <?php declare(strict_types=1);
2 
4 
8 
13 class FileStreamRevision extends FileRevision implements Revision
14 {
15 
19  private $stream;
23  protected $keep_original = true;
24 
29  {
30  $this->stream = $stream;
31  $this->keep_original = $keep_original;
32  parent::__construct($identification);
35  }
36 
40  public function getStream() : FileStream
41  {
42  return $this->stream;
43  }
44 
48  public function keepOriginal() : bool
49  {
50  return $this->keep_original;
51  }
52 
53 }
setInformation(Information $information)
__construct(ResourceIdentification $identification, FileStream $stream, bool $keep_original=false)
__construct(Container $dic, ilPlugin $plugin)
Interface FileStream The base interface for all filesystem streams.
Definition: FileStream.php:17