You are here

public function ConstraintViolationBuilderInterface::atPath in Plug 7

Stores the property path at which the violation should be generated.

The passed path will be appended to the current property path of the execution context.

Parameters

string $path The property path:

Return value

ConstraintViolationBuilderInterface This builder

2 methods override ConstraintViolationBuilderInterface::atPath()
ConstraintViolationBuilder::atPath in lib/Symfony/validator/Symfony/Component/Validator/Violation/ConstraintViolationBuilder.php
Stores the property path at which the violation should be generated.
LegacyConstraintViolationBuilder::atPath in lib/Symfony/validator/Symfony/Component/Validator/Violation/LegacyConstraintViolationBuilder.php
Stores the property path at which the violation should be generated.

File

lib/Symfony/validator/Symfony/Component/Validator/Violation/ConstraintViolationBuilderInterface.php, line 37

Class

ConstraintViolationBuilderInterface
Builds {@link \Symfony\Component\Validator\ConstraintViolationInterface} objects.

Namespace

Symfony\Component\Validator\Violation

Code

public function atPath($path);