Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ChainSplitFactory extends AbstractFactory |
||
11 | { |
||
12 | /** @var ChainBuilder */ |
||
13 | protected $builder; |
||
14 | |||
15 | public function __construct(string $operation, string $class, ChainBuilder $builder) |
||
16 | { |
||
17 | parent::__construct($operation, $class); |
||
18 | $this->builder = $builder; |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * @inheritdoc |
||
23 | */ |
||
24 | public function build(string $operation, array $options): ChainOperationInterface |
||
32 | } |
||
33 | |||
34 | protected function configureValidator(): Constraint |
||
40 | ], |
||
41 | ]); |
||
43 | } |