ValidatorInterface::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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.