ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |||
__construct (array $transformations, Data\Factory $data_factory, \ilLanguage $lng) | |||
transform ($from) | |||
Perform the transformation.Please use this for transformations. It's more performant than calling invoke.
| |||
![]() | |||
applyTo (Result $data) | |||
Perform the transformation and reify possible failures. More... | |||
__invoke ($from) | |||
Transformations should be callable. More... | |||
Protected Member Functions | |
getError () | |
Protected Attributes | |
$transformations | |
$data_factory | |
$error | |
Definition at line 14 of file ByTrying.php.
ILIAS\Refinery\ByTrying::__construct | ( | array | $transformations, |
Data\Factory | $data_factory, | ||
\ilLanguage | $lng | ||
) |
Definition at line 35 of file ByTrying.php.
References ILIAS\Refinery\ByTrying\$data_factory, and ILIAS\Refinery\ByTrying\$transformations.
|
protected |
Definition at line 50 of file ByTrying.php.
References ILIAS\Refinery\ByTrying\$error.
ILIAS\Refinery\ByTrying::transform | ( | $from | ) |
Perform the transformation.Please use this for transformations. It's more performant than calling invoke.
Implements ILIAS\Refinery\Transformation.
Definition at line 58 of file ByTrying.php.
References $result, and ILIAS\Refinery\getErrorMessage().
|
protected |
Definition at line 28 of file ByTrying.php.
Referenced by ILIAS\Refinery\ByTrying\__construct().
|
protected |
Definition at line 33 of file ByTrying.php.
Referenced by ILIAS\Refinery\ByTrying\getError().
|
protected |
Definition at line 23 of file ByTrying.php.
Referenced by ILIAS\Refinery\ByTrying\__construct().