Symfony\Component\Form\Extension\Validator\ViolationMapper\ViolationMapper::reconstructPath
Reconstructs a property path from a violation path and a form tree.
Signature
private function reconstructPath(ViolationPath
$violationPath,
FormInterface
$origin )
Parameters
$violationPath
— Symfony\Component\Form\Extension\Validator\ViolationMapper\ViolationPath- The violation path.
$origin
— Symfony\Component\Form\FormInterface- The root form of the tree.
Returns
- RelativePath
- The reconstructed path.