4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Form\Extension\Validator\ViolationMapper
;
14 use Symfony\Component\Form\FormInterface
;
15 use Symfony\Component\PropertyAccess\PropertyPath
;
18 * @author Bernhard Schussek <bschussek@gmail.com>
20 class RelativePath
extends PropertyPath
28 * @param FormInterface $root
29 * @param string $propertyPath
31 public function __construct(FormInterface
$root, $propertyPath)
33 parent
::__construct($propertyPath);
39 * @return FormInterface
41 public function getRoot()