ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Factory.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Data\Dimension;
23 
25 
29 class Factory
30 {
31  public function cardinal(array $value_labels = []): CardinalDimension
32  {
33  return new CardinalDimension($value_labels);
34  }
35 
36  public function range(CardinalDimension $cardinal_dimension): RangeDimension
37  {
38  return new RangeDimension($cardinal_dimension);
39  }
40 }
cardinal(array $value_labels=[])
Definition: Factory.php:31
range(CardinalDimension $cardinal_dimension)
Definition: Factory.php:36
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...