Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | class EntityDtoFactoryCreator extends AbstractCreator |
||
9 | { |
||
10 | public const FIND_NAME = 'TemplateEntityDtoFactory'; |
||
11 | |||
12 | public const TEMPLATE_PATH = self::ROOT_TEMPLATE_PATH . '/src/Entity/Factories/' . self::FIND_NAME . '.php'; |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private $entityFqn; |
||
17 | |||
18 | 4 | public function configurePipeline(): void |
|
23 | 4 | } |
|
24 | |||
25 | 4 | protected function registerReplaceEntitiesNamespaceProcess(): void |
|
31 | 4 | } |
|
32 | |||
33 | 4 | private function getEntityFqn(): string |
|
34 | { |
||
35 | 4 | return $this->entityFqn ?? $this->namespaceHelper->getEntityFqnFromEntityDtoFactoryFqn($this->newObjectFqn); |
|
36 | } |
||
37 | |||
38 | 2 | public function setNewObjectFqnFromEntityFqn(string $entityFqn): self |
|
44 | } |
||
45 | } |
||
46 |