class ComponentChain implements ComponentInterface (View source)

deprecated Will be removed in the next major and is superseeded by the MiddlewaresChain

The HTTP component chain

The chain is a HTTP component itself and handles all the configured components until one component sets the "cancelled" flag.

Properties

protected array $options

Configurable options of the component chain, it mainly contains the "components" to handle

protected ResponseInterface $response

Methods

__construct(array $options = [])

No description

void
handle(ComponentContext $componentContext)

Handle the configured components in the order of the chain

ResponseInterface
getResponse()

No description

Details

__construct(array $options = [])

No description

Parameters

array $options

void handle(ComponentContext $componentContext)

Handle the configured components in the order of the chain

Parameters

ComponentContext $componentContext

Return Value

void

ResponseInterface getResponse()

No description

Return Value

ResponseInterface