コード例 #1
0
 /**
  * {@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);
 }
コード例 #2
0
 /**
  * @param FormInterface $root
  * @param string        $propertyPath
  */
 public function __construct(FormInterface $root, $propertyPath)
 {
     parent::__construct($propertyPath);
     $this->root = $root;
 }