Symfony\Component\Form\FormTypeInterface::getParent
Returns the name of the parent type.
You can also return a type instance from this method, although doing so is discouraged because it leads to a performance penalty. The support for returning type instances may be dropped from future releases.
Signature
public function getParent()
Returns
- string|null|FormTypeInterface
- The name of the parent type if any, null otherwise.