public function LegacyConstraintViolationBuilder::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
Overrides ConstraintViolationBuilderInterface::atPath
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Violation/ LegacyConstraintViolationBuilder.php, line 74
Class
- LegacyConstraintViolationBuilder
- Backwards-compatible implementation of {@link ConstraintViolationBuilderInterface}.
Namespace
Symfony\Component\Validator\ViolationCode
public function atPath($path) {
$this->propertyPath = $path;
return $this;
}