1 | <?php |
||
15 | class CompositeStage implements PipelineStageInterface |
||
16 | { |
||
17 | /** |
||
18 | * Stages |
||
19 | * |
||
20 | * @var PipelineStageInterface[] |
||
21 | */ |
||
22 | private $stages; |
||
23 | |||
24 | /** |
||
25 | * CompositeStage constructor. |
||
26 | * |
||
27 | * @param PipelineStageInterface[] $stages Stages to process by this composite |
||
28 | */ |
||
29 | 134 | public function __construct(array $stages) |
|
33 | |||
34 | /** |
||
35 | * @inheritDoc |
||
36 | */ |
||
37 | 82 | public function processStage(array $requestDescriptors) |
|
46 | } |
||
47 |