|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ILIAS\Refinery\ByTrying:
Collaboration diagram for ILIAS\Refinery\ByTrying: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.
InvalidArgumentException if the argument could not be transformed
| ||||||
Public Member Functions inherited from ILIAS\Refinery\Transformation | ||||||
| transform ($from) | ||||||
| Perform the transformation. More... | ||||||
| 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, ILIAS\Refinery\ByTrying\$transformations, and error().
Here is the call graph for this function:
|
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.
InvalidArgumentException if the argument could not be transformed
| mixed | $from |
Implements ILIAS\Refinery\Transformation.
Definition at line 58 of file ByTrying.php.
References $result, and ILIAS\Refinery\getErrorMessage().
Here is the call graph for this function:
|
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().