mediatekformation

DependencyInjectionExtension
in package
implements FormExtensionInterface

Interfaces, Classes, Traits and Enums

FormExtensionInterface
Interface for extensions which provide types, type extensions and a guesser.

Table of Contents

$guesser  : mixed
$guesserLoaded  : mixed
$guesserServices  : mixed
$typeContainer  : mixed
$typeExtensionServices  : mixed
__construct()  : mixed
getType()  : FormTypeInterface
Returns a type by name.
getTypeExtensions()  : array<string|int, FormTypeExtensionInterface>
Returns the extensions for the given type.
getTypeGuesser()  : FormTypeGuesserInterface|null
Returns the type guesser provided by this extension.
hasType()  : bool
Returns whether the given type is supported.
hasTypeExtensions()  : bool
Returns whether this extension provides type extensions for the given type.

Properties

Methods

__construct()

public __construct(ContainerInterface $typeContainer, array<string|int, iteratable<string|int, mixed>> $typeExtensionServices, iteratable<string|int, mixed> $guesserServices) : mixed
Parameters
$typeContainer : ContainerInterface
$typeExtensionServices : array<string|int, iteratable<string|int, mixed>>
$guesserServices : iteratable<string|int, mixed>
Return values
mixed —

hasType()

Returns whether the given type is supported.

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

The name of the type

Return values
bool —

Whether the type is supported by this extension

hasTypeExtensions()

Returns whether this extension provides type extensions for the given type.

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

The name of the type

Return values
bool —

Whether the given type has extensions

Search results