ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ILIAS\Refinery\Integer\Group Class Reference
+ Collaboration diagram for ILIAS\Refinery\Integer\Group:

Public Member Functions

 __construct (Factory $dataFactory, \ilLanguage $language)
 
 isGreaterThan (int $minimum)
 Creates a constraint that can be used to check if an integer value is greater than the defined lower limit. More...
 
 isLessThan (int $maximum)
 Creates a constraint that can be used to check if an integer value is less than the defined upper limit. More...
 

Private Attributes

 $dataFactory
 
 $language
 

Detailed Description

Definition at line 13 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Refinery\Integer\Group::__construct ( Factory  $dataFactory,
\ilLanguage  $language 
)

Definition at line 25 of file Group.php.

References ILIAS\Refinery\Integer\Group\$dataFactory, ILIAS\Refinery\Integer\Group\$language, and language().

26  {
27  $this->dataFactory = $dataFactory;
28  $this->language = $language;
29  }
language()
Definition: language.php:2
+ Here is the call graph for this function:

Member Function Documentation

◆ isGreaterThan()

ILIAS\Refinery\Integer\Group::isGreaterThan ( int  $minimum)

Creates a constraint that can be used to check if an integer value is greater than the defined lower limit.

Parameters
int$minimum- lower limit for the new constraint
Returns
GreaterThan

Definition at line 38 of file Group.php.

References language().

38  : GreaterThan
39  {
40  return new GreaterThan($minimum, $this->dataFactory, $this->language);
41  }
language()
Definition: language.php:2
+ Here is the call graph for this function:

◆ isLessThan()

ILIAS\Refinery\Integer\Group::isLessThan ( int  $maximum)

Creates a constraint that can be used to check if an integer value is less than the defined upper limit.

Parameters
int$maximum- upper limit for the new constraint
Returns
LessThan

Definition at line 50 of file Group.php.

References language().

50  : LessThan
51  {
52  return new LessThan($maximum, $this->dataFactory, $this->language);
53  }
language()
Definition: language.php:2
+ Here is the call graph for this function:

Field Documentation

◆ $dataFactory

ILIAS\Refinery\Integer\Group::$dataFactory
private

Definition at line 18 of file Group.php.

Referenced by ILIAS\Refinery\Integer\Group\__construct().

◆ $language

ILIAS\Refinery\Integer\Group::$language
private

Definition at line 23 of file Group.php.

Referenced by ILIAS\Refinery\Integer\Group\__construct().


The documentation for this class was generated from the following file: