ILIAS  release_8 Revision v8.23
StreamInfo.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
30 {
32  private string $access_key;
33 
34  public function __construct(FileStream $stream, string $access_key)
35  {
36  $this->stream = $stream;
37  $this->access_key = $access_key;
38  }
39 
40  public function getStream(): FileStream
41  {
42  return $this->stream;
43  }
44 
45  public function getAccessKey(): string
46  {
47  return $this->access_key;
48  }
49 }
__construct(FileStream $stream, string $access_key)
Definition: StreamInfo.php:34
Interface FileStream.
Definition: FileStream.php:33