public static function type(FormInterface $form) { return get_class($form->getConfig()->getType()->getInnerType()); }