ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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

 $dataFactory
 
 $language
 

Detailed Description

Definition at line 11 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 23 of file Group.php.

24 {
25 $this->dataFactory = $dataFactory;
26 $this->language = $language;
27 }
language()
Definition: language.php:2

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

+ Here is the call graph for this function:

Member Function Documentation

◆ constraint()

ILIAS\Refinery\Custom\Group::constraint ( callable  $callable,
  $error 
)
Parameters
callable$callable
$error
Returns
Custom\Constraint

Definition at line 34 of file Group.php.

34 : Constraint
35 {
36 return new Constraint(
37 $callable,
38 $error,
39 $this->dataFactory,
40 $this->language
41 );
42 }

References language().

+ Here is the call graph for this function:

◆ transformation()

ILIAS\Refinery\Custom\Group::transformation ( callable  $transform)
Parameters
callable$transform
Returns
Transformations\Transformation

Definition at line 48 of file Group.php.

48 : Transformation
49 {
50 return new Transformation($transform, $this->dataFactory);
51 }

Field Documentation

◆ $dataFactory

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

Definition at line 16 of file Group.php.

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

◆ $language

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

Definition at line 21 of file Group.php.

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


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