ContextualValidatorInterface::atPath()

ContextualValidatorInterface atPath(string $path)

Appends the given path to the property path of the context.

If called multiple times, the path will always be reset to the context's original path with the given path appended to it.

Parameters

string $path The path to append

Return Value

ContextualValidatorInterface This validator
doc_Symfony
2016-10-28 06:12:12
Comments
Leave a Comment

Please login to continue.