Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
28 | 2 | public function getConfig(): array |
|
29 | { |
||
30 | 2 | $name = '\\' . $this->getControllerNamespace() . '\Delete' . $this->getEntityClassName() . 'Action::class'; |
|
31 | 2 | $hydratorName = $this->dataProvider->provide()['hydrator_name']; |
|
32 | return [ |
||
33 | 2 | $name => [ |
|
34 | 2 | new PhpLiteral('\SlayerBirden\DataFlowServer\Doctrine\Persistence\EntityManagerRegistry::class'), |
|
35 | 2 | $hydratorName, |
|
36 | LoggerInterface::class, |
||
37 | ] |
||
59 |