ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Refinery\Custom\Group Class Reference
+ Collaboration diagram for ILIAS\Refinery\Custom\Group:

Public Member Functions

 __construct (Factory $dataFactory, \ILIAS\Language\Language $language)
 
 constraint (callable $callable, $error)
 
 transformation (callable $transform)
 

Private Attributes

Factory $dataFactory
 
ILIAS Language Language $language
 

Detailed Description

Definition at line 27 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 32 of file Group.php.

33 {
34 $this->dataFactory = $dataFactory;
35 $this->language = $language;
36 }
ILIAS Language Language $language
Definition: Group.php:30

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

+ 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 43 of file Group.php.

43 : ConstraintInterface
44 {
45 return new Constraint(
46 $callable,
47 $error,
48 $this->dataFactory,
49 $this->language
50 );
51 }
ilErrorHandling $error
Definition: class.ilias.php:69

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

+ Here is the call graph for this function:

◆ transformation()

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

Definition at line 53 of file Group.php.

53 : TransformationInterface
54 {
55 return new Transformation($transform);
56 }

Field Documentation

◆ $dataFactory

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

Definition at line 29 of file Group.php.

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

◆ $language

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

Definition at line 30 of file Group.php.

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


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