/** * {@inheritdoc} */ public function __construct($propertyPath) { parent::__construct($propertyPath); trigger_error('\\Symfony\\Component\\Form\\Util\\PropertyPath is deprecated since version 2.2 and will be removed in 2.3. Use \\Symfony\\Component\\PropertyAccess\\PropertyPath instead.', E_USER_DEPRECATED); }
/** * @param FormInterface $root * @param string $propertyPath */ public function __construct(FormInterface $root, $propertyPath) { parent::__construct($propertyPath); $this->root = $root; }