ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FileStreamRevision.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
32{
36 public function __construct(
38 private FileStream $stream,
39 protected bool $keep_original = false
40 ) {
44 }
45
46 public function getStream(): FileStream
47 {
48 return $this->stream;
49 }
50
51 public function keepOriginal(): bool
52 {
53 return $this->keep_original;
54 }
55}
setInformation(Information $information)
__construct(ResourceIdentification $identification, private FileStream $stream, protected bool $keep_original=false)
@inheritDoc
The base interface for all filesystem streams.
Definition: FileStream.php:32
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...