function 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
$this
2 methods override ConstraintViolationBuilderInterface::atPath()
- ConstraintViolationBuilder::atPath in core/
lib/ Drupal/ Core/ Validation/ ConstraintViolationBuilder.php - Stores the property path at which the violation should be generated.
- ConstraintViolationBuilder::atPath in vendor/
symfony/ validator/ Violation/ ConstraintViolationBuilder.php - Stores the property path at which the violation should be generated.
File
-
vendor/
symfony/ validator/ Violation/ ConstraintViolationBuilderInterface.php, line 36
Class
- ConstraintViolationBuilderInterface
- Builds {@link \Symfony\Component\Validator\ConstraintViolationInterface} objects.
Namespace
Symfony\Component\Validator\ViolationCode
public function atPath(string $path) : static;