PHP Class StackFormation\Helper\Pipeline

显示文件 Open project: aoepeople/stackformation Class Usage Examples

Protected Properties

Property Type Description
$stages callable[]

Public Methods

Method Description
addStage ( callable $stage ) Add stage
process ( $payload ) : mixed Process the payload.

Method Details

addStage() public method

Add stage
public addStage ( callable $stage )
$stage callable

process() public method

Process the payload.
public process ( $payload ) : mixed
$payload
return mixed

Property Details

$stages protected_oe property

protected callable[] $stages
return callable[]