ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Adds to any array keys for each value. More...
Public Member Functions | |
__construct (array $labels, Factory $factory) | |
transform ($from) | |
applyTo (Result $result) | |
![]() | |
__invoke ($from) | |
Transformations should be callable. More... | |
Private Attributes | |
array | $labels |
Factory | $factory |
Adds to any array keys for each value.
Definition at line 32 of file AddLabels.php.
ILIAS\Refinery\Container\AddLabels::__construct | ( | array | $labels, |
Factory | $factory | ||
) |
string[]|int[] | $labels | |
Factory | $factory |
Definition at line 44 of file AddLabels.php.
References ILIAS\Refinery\Container\AddLabels\$factory, and ILIAS\Refinery\Container\AddLabels\$labels.
ILIAS\Refinery\Container\AddLabels::applyTo | ( | Result | $result | ) |
Implements ILIAS\Refinery\Transformation.
Definition at line 70 of file AddLabels.php.
References ILIAS\Data\Result\value().
ILIAS\Refinery\Container\AddLabels::transform | ( | $from | ) |
Implements ILIAS\Refinery\Transformation.
Definition at line 54 of file AddLabels.php.
|
private |
Definition at line 38 of file AddLabels.php.
Referenced by ILIAS\Refinery\Container\AddLabels\__construct().
|
private |
Definition at line 37 of file AddLabels.php.
Referenced by ILIAS\Refinery\Container\AddLabels\__construct().