ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Refinery\Custom\Group Class Reference
+ Collaboration diagram for ILIAS\Refinery\Custom\Group:

Public Member Functions

 __construct (Factory $dataFactory, ilLanguage $language)
 
 constraint (callable $callable, $error)
 
 transformation (callable $transform)
 

Private Attributes

Factory $dataFactory
 
ilLanguage $language
 

Detailed Description

Definition at line 28 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 33 of file Group.php.

References ILIAS\Refinery\Custom\Group\$dataFactory, ILIAS\Refinery\Custom\Group\$language, and ILIAS\UI\examples\Symbol\Glyph\Language\language().

34  {
35  $this->dataFactory = $dataFactory;
36  $this->language = $language;
37  }
+ Here is the call graph for this function:

Member Function Documentation

◆ constraint()

ILIAS\Refinery\Custom\Group::constraint ( callable  $callable,
  $error 
)
Parameters
callable$callable
string | callable$error
Returns
ConstraintInterface

Definition at line 44 of file Group.php.

References ILIAS\$error, and ILIAS\UI\examples\Symbol\Glyph\Language\language().

45  {
46  return new Constraint(
47  $callable,
48  $error,
49  $this->dataFactory,
50  $this->language
51  );
52  }
ilErrorHandling $error
Definition: class.ilias.php:55
+ Here is the call graph for this function:

◆ transformation()

ILIAS\Refinery\Custom\Group::transformation ( callable  $transform)

Definition at line 54 of file Group.php.

55  {
56  return new Transformation($transform);
57  }

Field Documentation

◆ $dataFactory

Factory ILIAS\Refinery\Custom\Group::$dataFactory
private

Definition at line 30 of file Group.php.

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

◆ $language

ilLanguage ILIAS\Refinery\Custom\Group::$language
private

Definition at line 31 of file Group.php.

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


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