class MiddlewaresChainFactory (View source)

Creates a new MiddlewaresChain according to the specified settings

Properties

protected ObjectManagerInterface $objectManager
protected ComponentContext $componentContext

Methods

__construct(ComponentContext $componentContext)

MiddlewaresChainFactory constructor.

create(array $chainConfiguration, string $parentChain = 'default')

No description

Details

__construct(ComponentContext $componentContext)

MiddlewaresChainFactory constructor.

Parameters

ComponentContext $componentContext

MiddlewaresChain create(array $chainConfiguration, string $parentChain = 'default')

No description

Parameters

array $chainConfiguration
string $parentChain

Return Value

MiddlewaresChain

Exceptions

Exception