ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
Group.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 use ilLanguage;
26 
27 class Group
28 {
31 
32  public function __construct(Factory $dataFactory, ilLanguage $language)
33  {
34  $this->dataFactory = $dataFactory;
35  $this->language = $language;
36  }
37 
38  public function isNumeric(): Constraint
39  {
40  return new IsNumeric($this->dataFactory, $this->language);
41  }
42 }
A constraint encodes some resrtictions on values.
Definition: Constraint.php:31
__construct(Factory $dataFactory, ilLanguage $language)
Definition: Group.php:32