Documentation

FormRegistry
in package
implements FormRegistryInterface

The central registry of the Form component.

Tags
author

Bernhard Schussek bschussek@gmail.com

Table of Contents

Interfaces

FormRegistryInterface
The central registry of the Form component.

Properties

$checkedTypes  : array<string|int, mixed>
$extensions  : array<string|int, FormExtensionInterface>
$guesser  : mixed
$resolvedTypeFactory  : mixed
$types  : array<string|int, ResolvedFormTypeInterface>

Methods

__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

$checkedTypes

private array<string|int, mixed> $checkedTypes = []

Methods

hasType()

Returns whether the given form type is supported.

public hasType(string $name) : bool
Parameters
$name : string
Return values
bool

        
On this page

Search results