EnhancerFactory

class \TYPO3\CMS\Core\Routing\Enhancer\EnhancerFactory

Creates enhancers

Table of Contents

Properties

$availableEnhancers  : array

Methods

__construct()  : mixed
EnhancerFactory constructor.
create()  : EnhancerInterface

Properties

$availableEnhancers

protected array $availableEnhancers

of all class names that need to be EnhancerInterfaces when instantiated.

Methods

__construct()

EnhancerFactory constructor.

public __construct() : mixed

create()

public create(string $type, array $settings) : EnhancerInterface

Parameters

$type : string
$settings : array

Tags

throws
InvalidArgumentException
throws
OutOfRangeException

Return values

EnhancerInterface
On this page