1 | <?php |
||
19 | class PipelineFactory |
||
20 | { |
||
21 | /** |
||
22 | * Stage factory |
||
23 | * |
||
24 | * @var StageFactoryInterface |
||
25 | */ |
||
26 | private $stageFactory; |
||
27 | |||
28 | /** |
||
29 | * PipelineFactory constructor. |
||
30 | * |
||
31 | * @param StageFactoryInterface $stageFactory Stage factory |
||
32 | */ |
||
33 | 64 | public function __construct(StageFactoryInterface $stageFactory) |
|
37 | |||
38 | /** |
||
39 | * Create Pipeline |
||
40 | * |
||
41 | * @param RequestExecutorInterface $executor Request executor |
||
42 | * @param EventCaller $eventCaller Event caller |
||
43 | * @param LimitationSolverInterface $limitationDecider Limitation solver |
||
44 | * |
||
45 | * @return Pipeline |
||
46 | */ |
||
47 | 62 | public function createPipeline( |
|
74 | |||
75 | /** |
||
76 | * Create AsyncSelector |
||
77 | * |
||
78 | * @return AsyncSelector |
||
79 | */ |
||
80 | 62 | protected function createSelector() |
|
84 | } |
||
85 |