Matthias\SymfonyConsoleForm\Form\FormUtil::type PHP Method

type() public static method

public static type ( Symfony\Component\Form\FormInterface $form ) : string
$form Symfony\Component\Form\FormInterface
return string
    public static function type(FormInterface $form)
    {
        return get_class($form->getConfig()->getType()->getInnerType());
    }