3 declare(strict_types=1);
35 $this->dataFactory = $dataFactory;
38 $this->
language->loadLanguageModule(
'validation');
47 return new To\Group($this->dataFactory);
161 return new ByTrying($transformations, $this->dataFactory);
166 return new RandomGroup();
custom()
Contains constraints and transformations for custom functions.
in()
Creates a factory object to create a transformation object, that can be used to execute other transfo...
null()
Contains constraints for null types.
byTrying(array $transformations)
Accepts Transformations and uses first successful one.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(\ILIAS\Data\Factory $dataFactory, ilLanguage $language)
logical()
Contains constraints for logical compositions with other constraints.
Class ChatMainBarProvider .
A constraint encodes some resrtictions on values.
A password is used as part of credentials for authentication.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
numeric()
Contains constraints for numeric data types.
container()
Contains constraints for container types (e.g.
password()
Contains constraints for password strings.
The scope of this class is split ilias-conform URI's into components.
dateTime()
Contains transformations for DateTime.
ILIAS Data Factory $dataFactory
uri()
Contains transformations for Data.
int()
Contains constraints and transformations on numbers.
to()
Combined validations and transformations for primitive data types that establish a baseline for furth...
kindlyTo()
Combined validations and transformations for primitive data types that establish a baseline for furth...
string()
Contains constraints for string.