| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | class EntityUnitOfWorkHelperCreator extends AbstractCreator |
||
| 9 | { |
||
| 10 | public const FIND_NAME = 'TemplateEntityUnitOfWorkHelper'; |
||
| 11 | |||
| 12 | public const TEMPLATE_PATH = self::ROOT_TEMPLATE_PATH . '/src/Entity/Savers/' . self::FIND_NAME . '.php'; |
||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $entityFqn; |
||
| 17 | |||
| 18 | public function configurePipeline(): void |
||
| 23 | } |
||
| 24 | |||
| 25 | public function setNewObjectFqnFromEntityFqn(string $entityFqn): self |
||
| 26 | { |
||
| 27 | $this->entityFqn = $entityFqn; |
||
| 28 | $this->newObjectFqn = $this->namespaceHelper->getEntityUnitOfWorkHelperFqnFromEntityFqn($entityFqn); |
||
| 29 | |||
| 30 | return $this; |
||
| 31 | } |
||
| 32 | |||
| 33 | protected function registerReplaceEntitiesNamespaceProcess(): void |
||
| 39 | } |
||
| 40 | |||
| 41 | private function getEntityFqn(): string |
||
| 47 |