PHP Class Neos\Flow\Http\Component\ComponentChain

The chain is a HTTP component itself and handles all the configured components until one component sets the "cancelled" flag.
Inheritance: implements Neos\Flow\Http\Component\ComponentInterface
ファイルを表示 Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$options array Configurable options of the component chain, it mainly contains the "components" to handle
$response Neos\Flow\Http\Response

Public Methods

Method Description
__construct ( array $options = [] )
getResponse ( ) : Response
handle ( ComponentContext $componentContext ) : void Handle the configured components in the order of the chain

Method Details

__construct() public method

public __construct ( array $options = [] )
$options array

getResponse() public method

public getResponse ( ) : Response
return Neos\Flow\Http\Response

handle() public method

Handle the configured components in the order of the chain
public handle ( ComponentContext $componentContext ) : void
$componentContext ComponentContext
return void

Property Details

$options protected_oe property

Configurable options of the component chain, it mainly contains the "components" to handle
protected array $options
return array

$response protected_oe property

protected Response,Neos\Flow\Http $response
return Neos\Flow\Http\Response