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 235
__construct(ExecutionContextInterface $context, $message, Constraint $constraint = null, array $assertions = [])

Parameters

ExecutionContextInterface $context
$message
Constraint $constraint
array $assertions

at line 243
atPath($path)

Parameters

$path

at line 250
setParameter($key, $value)

Parameters

$key
$value

at line 257
setParameters(array $parameters)

Parameters

array $parameters

at line 264
setTranslationDomain($translationDomain)

Parameters

$translationDomain

at line 271
setInvalidValue($invalidValue)

Parameters

$invalidValue

at line 278
setPlural($number)

Parameters

$number

at line 285
setCode($code)

Parameters

$code

at line 292
setCause($cause)

Parameters

$cause

at line 299
buildNextViolation($message)

Parameters

$message

at line 307
assertRaised()