21 $this->data_factory = $data_factory;
isInt()
Get a constraint for an integer.
A constraint encodes some resrtictions on values.
custom(callable $is_ok, $error)
Get a custom constraint.
__construct(Data\Factory $data_factory)
Create styles array
The data for the language used.
greaterThan($min)
Get the constraint that some value is larger than $min.
lessThan($max)
Get the constraint that some value is smaller then $max.
not(Constraint $other)
Get a negated constraint.
parallel(array $others)
Get a constraint that checks the supplied constraints in parallel.
sequential(array $others)
Get a constraint that sequentially checks the supplied constraints.