ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Namespaces | |
namespace | Container |
namespace | Custom |
namespace | DateTime |
namespace | In |
namespace | Integer |
namespace | KindlyTo |
namespace | Logical |
namespace | Numeric |
namespace | Password |
namespace | String |
namespace | To |
namespace | URI |
Data Structures | |
class | ByTrying |
interface | Constraint |
A constraint encodes some resrtictions on values. More... | |
class | ConstraintViolationException |
class | Factory |
class | IsNull |
interface | Transformation |
A transformation is a function from one datatype to another. More... | |
Functions | |
applyTo (Result $result) | |
__invoke ($from) | |
withProblemBuilder (callable $builder) | |
getErrorMessage ($value) | |
Get the problem message. More... | |
getLngClosure () | |
Get the closure to be passed to the error-function that does i18n and sprintf. More... | |
Variables | |
trait | DeriveApplyToFromTransform |
trait | DeriveInvokeFromTransform |
trait | DeriveTransformFromApplyTo |
trait | ProblemBuilder |
ILIAS\Refinery\__invoke | ( | $from | ) |
InvalidArgumentException if the argument could not be transformed
mixed | $from |
Definition at line 26 of file DeriveInvokeFromTransform.php.
ILIAS\Refinery\applyTo | ( | Result | $result | ) |
Result | $result |
Definition at line 25 of file DeriveApplyToFromTransform.php.
References $result.
|
final |
Get the problem message.
Definition at line 31 of file ProblemBuilder.php.
References error(), getError(), and ILIAS\Refinery\getLngClosure().
Referenced by ILIAS\Refinery\Custom\Constraint\check(), ILIAS\Refinery\Custom\Constraint\problemWith(), and ILIAS\Refinery\ByTrying\transform().
|
finalprotected |
Get the closure to be passed to the error-function that does i18n and sprintf.
Definition at line 47 of file ProblemBuilder.php.
References $i.
Referenced by MyValidationConstraintsConstraint\_getLngClosure(), and ILIAS\Refinery\getErrorMessage().
|
final |
Definition at line 19 of file ProblemBuilder.php.
References $builder.
trait ILIAS::Refinery\DeriveApplyToFromTransform |
Definition at line 12 of file DeriveApplyToFromTransform.php.
trait ILIAS::Refinery\DeriveInvokeFromTransform |
Definition at line 12 of file DeriveInvokeFromTransform.php.
trait ILIAS::Refinery\DeriveTransformFromApplyTo |
Definition at line 12 of file DeriveTransformFromApplyTo.php.
trait ILIAS::Refinery\ProblemBuilder |
Definition at line 9 of file ProblemBuilder.php.