ConstraintViolationAssertion
class ConstraintViolationAssertion
Methods
Details
__construct(ExecutionContextInterface $context, $message, Constraint $constraint = null, array $assertions = array())
Parameters
atPath($path)
Parameters
setParameter($key, $value)
Parameters
setParameters(array $parameters)
Parameters
setTranslationDomain($translationDomain)
Parameters
setInvalidValue($invalidValue)
Parameters
setPlural($number)
Parameters
setCode($code)
Parameters
setCause($cause)
Parameters
buildNextViolation($message)
Parameters
assertRaised()