FormRegistryInterface::hasType()

bool hasType(string $name) Returns whether the given form type is supported. Parameters string $name The name of the type Return Value bool Whether the type is supported

FormRegistryInterface::getExtensions()

FormExtensionInterface[] getExtensions() Returns the extensions loaded by the framework. Return Value FormExtensionInterface[]

FormRegistryInterface::getType()

ResolvedFormTypeInterface getType(string $name) Returns a form type by name. This methods registers the type extensions from the form extensions. Parameters string $name The name of the type Return Value ResolvedFormTypeInterface The type Exceptions InvalidArgumentException if the type can not be retrieved from any extension

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. FormExtensionInterface[] getExtensions() Returns the extensions loaded by the framework. Details ResolvedFormTyp

FormRegistry::hasType()

bool hasType(string $name) Returns whether the given form type is supported. Parameters string $name The name of the type Return Value bool Whether the type is supported

FormRegistry::getTypeGuesser()

FormTypeGuesserInterface|null getTypeGuesser() Returns the guesser responsible for guessing types. Return Value FormTypeGuesserInterface|null

FormRegistry::getExtensions()

FormExtensionInterface[] getExtensions() Returns the extensions loaded by the framework. Return Value FormExtensionInterface[]

FormRegistry

class FormRegistry implements FormRegistryInterface The central registry of the Form component. Methods __construct(array $extensions, ResolvedFormTypeFactoryInterface $resolvedTypeFactory) Constructor. 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. FormExtensionInter

FormPerformanceTestCase::setMaxRunningTime()

setMaxRunningTime(int $maxRunningTime) Parameters int $maxRunningTime Exceptions InvalidArgumentException

FormRegistry::getType()

ResolvedFormTypeInterface getType(string $name) Returns a form type by name. This methods registers the type extensions from the form extensions. Parameters string $name The name of the type Return Value ResolvedFormTypeInterface The type Exceptions InvalidArgumentException if the type can not be retrieved from any extension