class ConstraintViolation
Represents a single violation of a constraint.
Methods
| __construct($messageTemplate, array $messageParameters, $root, $propertyPath, $invalidValue) | ||
| string | getMessageTemplate() | |
| array | getMessageParameters() | |
| string |
getMessage()
Returns the violation message. |
|
| getRoot() | ||
| getPropertyPath() | ||
| getInvalidValue() |
Details
at line 27
public
__construct($messageTemplate, array $messageParameters, $root, $propertyPath, $invalidValue)
at line 41
public string
getMessageTemplate()
at line 51
public array
getMessageParameters()
at line 63
public string
getMessage()
Returns the violation message.