static handle($errorNumber, $message, $file, $line, $context) Parameters $errorNumber $message $file $line $context
extract(string $directory, MessageCatalogue $catalogue) Extracts translation messages from a template directory to the catalogue. Parameters string $directory The path to look into MessageCatalogue $catalogue The catalogue
mixed getInvalidValue() Returns the value that caused the violation. Return Value mixed The invalid value that caused the validated constraint to fail.
array getListeners(string $eventName = null) Gets the listeners of a specific event or all listeners sorted by descending priority. Parameters string $eventName The name of the event Return Value array The event listeners for the specified event, or all event listeners by event name
array getArguments() Returns all the given arguments merged with the default values. Return Value array
markConstraintAsValidated(string $cacheKey, string $constraintHash) Marks a constraint as validated for an object. Parameters string $cacheKey The hash of the object string $constraintHash The hash of the constraint
string[] getConstrainedProperties() Returns the names of all constrained properties. Return Value string[] A list of property names
int|null getMaxDepth() Gets the serialization max depth for this attribute. Return Value int|null
getIterator()
setMinNumberOfElements(int $number) Sets the minimum number of elements that a prototype based node must contain. By default this is zero, meaning no elements. Parameters int $number
Page 18 of 787