public function ContextualValidatorInterface::atPath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Validator/ContextualValidatorInterface.php \Symfony\Component\Validator\Validator\ContextualValidatorInterface::atPath()
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
2 methods override ContextualValidatorInterface::atPath()
- RecursiveContextualValidator::atPath in vendor/
symfony/ validator/ Validator/ RecursiveContextualValidator.php - Appends the given path to the property path of the context.
- RecursiveContextualValidator::atPath in core/
lib/ Drupal/ Core/ TypedData/ Validation/ RecursiveContextualValidator.php - Appends the given path to the property path of the context.
File
- vendor/
symfony/ validator/ Validator/ ContextualValidatorInterface.php, line 36
Class
- ContextualValidatorInterface
- A validator in a specific execution context.
Namespace
Symfony\Component\Validator\ValidatorCode
public function atPath($path);