|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ILIAS\Refinery\Integer\GreaterThan:
Collaboration diagram for ILIAS\Refinery\Integer\GreaterThan:Public Member Functions | ||||||
| __construct (int $min, Data\Factory $data_factory, \ilLanguage $lng) | ||||||
Public Member Functions inherited from ILIAS\Refinery\Custom\Constraint | ||||||
| __construct (callable $is_ok, $error, Data\Factory $data_factory, \ilLanguage $lng) | ||||||
| If $error is a callable it needs to take two parameters: More... | ||||||
| check ($value) | ||||||
Checks the provided value.Should not throw if accepts($value).
UnexpectedValueException if value does not comply with encoded constraint.
| ||||||
| accepts ($value) | ||||||
Tells if the provided value complies.
| ||||||
| problemWith ($value) | ||||||
Tells what the problem with the provided value is.Should return null if accepts($value).
| ||||||
| applyTo (Result $result) | ||||||
Restricts a Result.Must do nothing with the result if $result->isError(). Must replace the result with an error according to problemWith() if !accepts($result->value()).
| ||||||
Public Member Functions inherited from ILIAS\Refinery\Constraint | ||||||
| check ($value) | ||||||
| Checks the provided value. More... | ||||||
| accepts ($value) | ||||||
| Tells if the provided value complies. More... | ||||||
| problemWith ($value) | ||||||
| Tells what the problem with the provided value is. More... | ||||||
| applyTo (Result $result) | ||||||
| Restricts a Result. More... | ||||||
| withProblemBuilder (callable $builder) | ||||||
| Get a constraint like this one with a builder for a custom error message. More... | ||||||
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 Attributes | |
| $min | |
Protected Attributes inherited from ILIAS\Refinery\Custom\Constraint | |
| $data_factory | |
| $lng | |
| $is_ok | |
| $error | |
Additional Inherited Members | |
Protected Member Functions inherited from ILIAS\Refinery\Custom\Constraint | |
| getError () | |
Definition at line 10 of file GreaterThan.php.
| ILIAS\Refinery\Integer\GreaterThan::__construct | ( | int | $min, |
| Data\Factory | $data_factory, | ||
| \ilLanguage | $lng | ||
| ) |
Definition at line 17 of file GreaterThan.php.
References ILIAS\Refinery\Custom\Constraint\$data_factory, ILIAS\Refinery\Custom\Constraint\$lng, ILIAS\Refinery\Integer\GreaterThan\$min, $txt, and ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
protected |
Definition at line 15 of file GreaterThan.php.
Referenced by ILIAS\Refinery\Integer\GreaterThan\__construct().