Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class DeleteEntityForOldExecutionFactory extends AbstractFactory |
||
13 | { |
||
14 | /** @var EntityManagerInterface */ |
||
15 | protected EntityManagerInterface $em; |
||
16 | |||
17 | /** |
||
18 | * DeleteEntityForOldExecutionOperation constructor. |
||
19 | * @param EntityManagerInterface $em |
||
20 | */ |
||
21 | public function __construct(EntityManagerInterface $em) |
||
22 | { |
||
23 | $this->em = $em; |
||
24 | |||
25 | $this->operation = 'Etl/Cleanup/DeleteEntityForOldExecution'; |
||
26 | $this->class = DeleteEntityForOldExecutionOperation::class; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Build an operation of a certain type with the options. |
||
31 | * |
||
32 | * @param String $operation |
||
33 | * @param array $options |
||
34 | * |
||
35 | * @return ChainOperationInterface |
||
36 | */ |
||
37 | protected function build($operation, $options) |
||
40 | } |
||
41 | } |
||
42 |