FormRegistry
class FormRegistry implements FormRegistryInterface
The central registry of the Form component.
Methods
getType(string $name)
Returns a form type by name.
bool
hasType(string $name)
Returns whether the given form type is supported.
getTypeGuesser()
Returns the guesser responsible for guessing types.
getExtensions()
Returns the extensions loaded by the framework.
Details
at line line 55
__construct(array $extensions, ResolvedFormTypeFactoryInterface $resolvedTypeFactory)
Constructor.
at line line 70
ResolvedFormTypeInterface
getType(string $name)
Returns a form type by name.
This methods registers the type extensions from the form extensions.
at line line 128
bool
hasType(string $name)
Returns whether the given form type is supported.
at line line 146
FormTypeGuesserInterface|null
getTypeGuesser()
Returns the guesser responsible for guessing types.
at line line 168
FormExtensionInterface[]
getExtensions()
Returns the extensions loaded by the framework.