ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
Group.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
7 namespace ILIAS\Refinery\Integer;
8 
12 
13 class Group
14 {
18  private $dataFactory;
19 
23  private $language;
24 
26  {
27  $this->dataFactory = $dataFactory;
28  $this->language = $language;
29  }
30 
38  public function isGreaterThan(int $minimum) : GreaterThan
39  {
40  return new GreaterThan($minimum, $this->dataFactory, $this->language);
41  }
42 
50  public function isLessThan(int $maximum) : LessThan
51  {
52  return new LessThan($maximum, $this->dataFactory, $this->language);
53  }
54 }
__construct(Factory $dataFactory, \ilLanguage $language)
Definition: Group.php:25
isGreaterThan(int $minimum)
Creates a constraint that can be used to check if an integer value is greater than the defined lower ...
Definition: Group.php:38
Builds data types.
Definition: Factory.php:19
isLessThan(int $maximum)
Creates a constraint that can be used to check if an integer value is less than the defined upper lim...
Definition: Group.php:50
language handling
language()
Definition: language.php:2