public function ConstraintViolationBuilderInterface::atPath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Violation/ConstraintViolationBuilderInterface.php \Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface::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
3 methods override ConstraintViolationBuilderInterface::atPath()
- ConstraintViolationBuilder::atPath in vendor/
symfony/ validator/ Violation/ ConstraintViolationBuilder.php - Stores the property path at which the violation should be generated.
- ConstraintViolationBuilder::atPath in core/
lib/ Drupal/ Core/ TypedData/ Validation/ ConstraintViolationBuilder.php - Stores the property path at which the violation should be generated.
- LegacyConstraintViolationBuilder::atPath in vendor/
symfony/ validator/ Violation/ LegacyConstraintViolationBuilder.php - Stores the property path at which the violation should be generated.
File
- vendor/
symfony/ validator/ Violation/ ConstraintViolationBuilderInterface.php, line 38
Class
- ConstraintViolationBuilderInterface
- Builds {@link \Symfony\Component\Validator\ConstraintViolationInterface} objects.
Namespace
Symfony\Component\Validator\ViolationCode
public function atPath($path);