RecursiveValidator::inContext()

ContextualValidatorInterface inContext(ExecutionContextInterface $context)

Returns a validator in the given execution context.

The returned validator adds all generated violations to the given context.

Parameters

ExecutionContextInterface $context The execution context

Return Value

ContextualValidatorInterface The validator for that context
doc_Symfony
2016-10-28 06:28:36
Comments
Leave a Comment

Please login to continue.