Symfony\Component\Form\FormExtensionInterface
Interface for extensions which provide types, type extensions and a guesser.
Synopsis
interface FormExtensionInterface
{
- // methods
- public FormTypeInterface getType()
- public Boolean hasType()
- public array getTypeExtensions()
- public Boolean hasTypeExtensions()
- public FormTypeGuesserInterface|null getTypeGuesser()
Methods
public
- getType() — Returns a type by name.
- getTypeExtensions() — Returns the extensions for the given type.
- getTypeGuesser() — Returns the type guesser provided by this extension.
- hasType() — Returns whether the given type is supported.
- hasTypeExtensions() — Returns whether this extension provides type extensions for the given type.