class ConstraintViolationAssertion

Methods

__construct(ExecutionContextInterface $context, $message, Constraint $constraint = null, array $assertions = [])

No description

atPath($path)

No description

setParameter($key, $value)

No description

setParameters(array $parameters)

No description

setTranslationDomain($translationDomain)

No description

setInvalidValue($invalidValue)

No description

setPlural($number)

No description

setCode($code)

No description

setCause($cause)

No description

buildNextViolation($message)

No description

assertRaised()

No description

Details

at line 236
__construct(ExecutionContextInterface $context, $message, Constraint $constraint = null, array $assertions = [])

Parameters

ExecutionContextInterface $context
$message
Constraint $constraint
array $assertions

at line 244
atPath($path)

Parameters

$path

at line 251
setParameter($key, $value)

Parameters

$key
$value

at line 258
setParameters(array $parameters)

Parameters

array $parameters

at line 265
setTranslationDomain($translationDomain)

Parameters

$translationDomain

at line 272
setInvalidValue($invalidValue)

Parameters

$invalidValue

at line 279
setPlural($number)

Parameters

$number

at line 286
setCode($code)

Parameters

$code

at line 293
setCause($cause)

Parameters

$cause

at line 300
buildNextViolation($message)

Parameters

$message

at line 308
assertRaised()