Copied!

OptionsFormMapperRegistryInterface

OptionsFormMapperRegistryInterface.php : 16

Registry for options form mappers.

Tags
See
OptionsFormMapperInterface

Methods

publicgetMapper()

OptionsFormMapperRegistryInterface.php : 28

Returns options form mapper for given type.

public getMapper(string $type) : OptionsFormMapperInterface

Parameters

Name Type Default value Description
$type string - -

Return values

OptionsFormMapperInterface

Tags
Throws
InvalidArgumentException

If the mapper is not found.

publichasMapper()

OptionsFormMapperRegistryInterface.php : 21

Checks if options form mapper for given type exists.

public hasMapper(string $type) : bool

Parameters

Name Type Default value Description
$type string - -

Return values

bool