public function LegacyConstraintViolationBuilder::atPath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Violation/LegacyConstraintViolationBuilder.php \Symfony\Component\Validator\Violation\LegacyConstraintViolationBuilder::atPath()
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
- vendor/
symfony/ validator/ Violation/ LegacyConstraintViolationBuilder.php, line 76
Class
- LegacyConstraintViolationBuilder
- Backwards-compatible implementation of {@link ConstraintViolationBuilderInterface}.
Namespace
Symfony\Component\Validator\ViolationCode
public function atPath($path) {
$this->propertyPath = $path;
return $this;
}