Method | Description | |
---|---|---|
__construct ( $message, $code, $propertyPath = null, $value, array $constraints = [] ) | ||
getConstraints ( ) : array | Get the constraints that applied to the failed assertion. | |
getPropertyPath ( ) : string | User controlled way to define a sub-property causing the failure of a currently asserted objects. | |
getValue ( ) : mixed | Get the value that caused the assertion to fail. |
public __construct ( $message, $code, $propertyPath = null, $value, array $constraints = [] ) | ||
$constraints | array |
public getConstraints ( ) : array | ||
return | array |
public getPropertyPath ( ) : string | ||
return | string |