mediatekformation

FormRegistry
in package
implements FormRegistryInterface

The central registry of the Form component.

Tags
author

Bernhard Schussek bschussek@gmail.com

Interfaces, Classes, Traits and Enums

FormRegistryInterface
The central registry of the Form component.

Table of Contents

$checkedTypes  : mixed
$extensions  : array<string|int, FormExtensionInterface>
$guesser  : FormTypeGuesserInterface|false|null
$resolvedTypeFactory  : ResolvedFormTypeFactoryInterface
$types  : array<string|int, ResolvedFormTypeInterface>
__construct()  : mixed
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.
resolveType()  : ResolvedFormTypeInterface
Wraps a type into a ResolvedFormTypeInterface implementation and connects it with its parent type.

Properties

Methods

hasType()

Returns whether the given form type is supported.

public hasType(mixed $name) : bool
Parameters
$name : mixed

The name of the type

Return values
bool

Whether the type is supported

Search results