ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
Result.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
29 class Result
30 {
31  public function __construct(protected FlavourDefinition $definition, protected FileStream $stream, protected int $index = 0, protected bool $storeable = true)
32  {
33  }
34 
35  public function getIndex(): int
36  {
37  return $this->index;
38  }
39 
40 
41  public function getDefinition(): FlavourDefinition
42  {
43  return $this->definition;
44  }
45 
46  public function getStream(): FileStream
47  {
48  return $this->stream;
49  }
50 
51  public function isStoreable(): bool
52  {
53  return $this->storeable;
54  }
55 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(protected FlavourDefinition $definition, protected FileStream $stream, protected int $index=0, protected bool $storeable=true)
Definition: Result.php:31
The base interface for all filesystem streams.
Definition: FileStream.php:31