FormRegistryInterface

FormRegistryInterface

interface FormRegistryInterface

The central registry of the Form component.

Methods

<
ResolvedFormTypeInterface getType(string $name)

Returns a form type by name.

bool hasType(string $name)

Returns whether the given form type is supported.

FormTypeGuesserInterface|null getTypeGuesser()

Returns the guesser responsible for guessing types.