You are here

public function ContextualValidatorInterface::atPath in Plug 7

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

1 method overrides ContextualValidatorInterface::atPath()
RecursiveContextualValidator::atPath in lib/Symfony/validator/Symfony/Component/Validator/Validator/RecursiveContextualValidator.php
Appends the given path to the property path of the context.

File

lib/Symfony/validator/Symfony/Component/Validator/Validator/ContextualValidatorInterface.php, line 35

Class

ContextualValidatorInterface
A validator in a specific execution context.

Namespace

Symfony\Component\Validator\Validator

Code

public function atPath($path);