PHP Webmozart\Expression\Constraint Namespace

Classes

Name Description
Contains Checks that a value contains another value.
EndsWith Checks that a value has a given suffix.
Equals Checks that a value equals another value.
GreaterThan Checks that a value is greater than a given value.
GreaterThanEqual Checks that a value is greater than or equal to a given value.
In Checks that a value is one of a list of values.
IsEmpty Checks that a value is empty.
IsInstanceOf Checks that a value is an instance of a given class name.
KeyExists Checks that an array key exists.
KeyNotExists Checks that an array key does not exist.
LessThan Checks that a value is less than a given value.
LessThanEqual Checks that a value is less than or equal to a given value.
Matches Checks that a value matches a given regular expression.
NotEquals Checks that a value does not equal another value.
NotSame Checks that a value is not identical to another value.
Same Checks that a value is identical to another value.
StartsWith Checks that a value has a given prefix.