Total Complexity | 6 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
14 | class ChainBuilder |
||
15 | { |
||
16 | /** @var AbstractFactory[] */ |
||
17 | protected $operationFactories; |
||
18 | |||
19 | /** |
||
20 | * Register a operation factory. |
||
21 | * |
||
22 | * @param AbstractFactory $factory |
||
23 | */ |
||
24 | public function registerFactory(AbstractFactory $factory) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param $configs |
||
31 | * |
||
32 | * @return ChainProcessorInterface |
||
33 | */ |
||
34 | public function buildChainProcessor($configs) |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @param $config |
||
46 | * |
||
47 | * @return null|ChainOperation\ChainOperationInterface |
||
48 | */ |
||
49 | protected function getOperationFromConfig($config) |
||
61 |