ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
8
12
13class 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}
An exception for terminatinating execution or to throw for unit testing.
Builds data types.
Definition: Factory.php:20
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
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
__construct(Factory $dataFactory, \ilLanguage $language)
Definition: Group.php:25
language handling
language()
Definition: language.php:2