ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ListFetcherResult.php
Go to the documentation of this file.
1 <?php
18 declare(strict_types=1);
19 
21 
22 final class ListFetcherResult
23 {
24  private int $totalDatasetCount;
25  private array $dataset;
26 
27  public function __construct(array $dataset, int $totalDatasetCount)
28  {
29  $this->dataset = $dataset;
30  $this->totalDatasetCount = $totalDatasetCount;
31  }
32 
36  public function getTotalDatasetCount(): int
37  {
39  }
40 
44  public function getDataset(): array
45  {
46  return $this->dataset;
47  }
48 }
__construct(array $dataset, int $totalDatasetCount)