ILIAS  trunk Revision v11.0_alpha-1861-g09f3d197f78
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Result.php
Go to the documentation of this file.
1 <?php
18 declare(strict_types=1);
19 
21 
24 
28 class Result
29 {
30  public function __construct(protected FlavourDefinition $definition, protected FileStream $stream, protected int $index = 0, protected bool $storeable = true)
31  {
32  }
33 
34  public function getIndex(): int
35  {
36  return $this->index;
37  }
38 
39 
40  public function getDefinition(): FlavourDefinition
41  {
42  return $this->definition;
43  }
44 
45  public function getStream(): FileStream
46  {
47  return $this->stream;
48  }
49 
50  public function isStoreable(): bool
51  {
52  return $this->storeable;
53  }
54 }
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:30
The base interface for all filesystem streams.
Definition: FileStream.php:31