EnhancerFactory

Creates enhancers

Table of Contents

Properties

$availableEnhancers  : array<string|int, mixed>

Methods

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

Properties

$availableEnhancers

protected array<string|int, mixed> $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<string|int, mixed> $settings) : EnhancerInterface
Parameters
$type : string
$settings : array<string|int, mixed>
Tags
throws
InvalidArgumentException
throws
OutOfRangeException
Return values
EnhancerInterface

        
On this page

Search results