Symfony\Component\Form\FormExtensionInterface::getType
Returns a type by name.
Signature
public function getType(string
$name )
Parameters
$name
— string- The name of the type
Returns
- FormTypeInterface
- The type
Errors/Exceptions
-
InvalidArgumentException
- if the given type is not supported by this extension