1 | <?php |
||
20 | class PipelineFactory |
||
21 | { |
||
22 | /** |
||
23 | * Stage factory |
||
24 | * |
||
25 | * @var StageFactoryInterface |
||
26 | */ |
||
27 | private $stageFactory; |
||
28 | |||
29 | /** |
||
30 | * PipelineFactory constructor. |
||
31 | * |
||
32 | * @param StageFactoryInterface $stageFactory Stage factory |
||
33 | */ |
||
34 | 69 | public function __construct(StageFactoryInterface $stageFactory) |
|
38 | |||
39 | /** |
||
40 | * Create Pipeline |
||
41 | * |
||
42 | * @param RequestExecutorInterface $executor Request executor |
||
43 | * @param ExecutionContext $executionContext Execution context |
||
44 | * @param EventCaller $eventCaller Event caller |
||
45 | * @param LimitationSolverInterface $limitationDecider Limitation solver |
||
46 | * |
||
47 | * @return Pipeline |
||
48 | */ |
||
49 | 67 | public function createPipeline( |
|
78 | |||
79 | /** |
||
80 | * Create AsyncSelector |
||
81 | * |
||
82 | * @return AsyncSelector |
||
83 | */ |
||
84 | 67 | protected function createSelector() |
|
88 | } |
||
89 |