Symfony\Component\Form\AbstractType::getParent PHP Method

getParent() public method

public getParent ( )
    public function getParent()
    {
        return 'form';
    }

Same methods

AbstractType::getParent ( array $options ) : string | null

Usage Example

 /**
  * {@inheritdoc}
  */
 public function getParent()
 {
     if ('form' === parent::getParent()) {
         // BC for SF < 2.8
         return 'text';
     }
     return 'Symfony\\Component\\Form\\Extension\\Core\\Type\\TextType';
 }
All Usage Examples Of Symfony\Component\Form\AbstractType::getParent