Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
10 | class EntityDtoFactoryCreator extends AbstractCreator |
||
11 | { |
||
12 | public const FIND_NAME = 'TemplateEntityDtoFactory'; |
||
13 | |||
14 | public const TEMPLATE_PATH = self::ROOT_TEMPLATE_PATH . '/src/Entity/Factories/' . self::FIND_NAME . '.php'; |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $entityFqn; |
||
19 | |||
20 | public function configurePipeline(): void |
||
25 | } |
||
26 | |||
27 | protected function registerReplaceEntitiesNamespaceProcess(): void |
||
33 | } |
||
34 | |||
35 | private function getEntityFqn(): string |
||
36 | { |
||
37 | return $this->entityFqn ?? $this->namespaceHelper->getEntityFqnFromEntityDtoFactoryFqn($this->newObjectFqn); |
||
38 | } |
||
39 | |||
40 | public function setNewObjectFqnFromEntityFqn(string $entityFqn): self |
||
46 | } |
||
47 | } |
||
48 |