FormRegistryInterface
in
The central registry of the Form component.
Tags
Table of Contents
Methods
- getExtensions() : array<string|int, FormExtensionInterface>
- Returns the extensions loaded by the framework.
- getType() : ResolvedFormTypeInterface
- Returns a form type by name.
- getTypeGuesser() : FormTypeGuesserInterface|null
- Returns the guesser responsible for guessing types.
- hasType() : bool
- Returns whether the given form type is supported.
Methods
getExtensions()
Returns the extensions loaded by the framework.
public
getExtensions() : array<string|int, FormExtensionInterface>
Return values
array<string|int, FormExtensionInterface>getType()
Returns a form type by name.
public
getType(string $name) : ResolvedFormTypeInterface
This methods registers the type extensions from the form extensions.
Parameters
- $name : string
Tags
Return values
ResolvedFormTypeInterfacegetTypeGuesser()
Returns the guesser responsible for guessing types.
public
getTypeGuesser() : FormTypeGuesserInterface|null
Return values
FormTypeGuesserInterface|nullhasType()
Returns whether the given form type is supported.
public
hasType(string $name) : bool
Parameters
- $name : string