| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 14 | final class FkUseCaseBuilder extends AbstractBuilder |
||
| 15 | { |
||
| 16 | public function __construct(string $pkEntity, string $fkEntity) |
||
| 17 | { |
||
| 18 | $name = $this->getInflector()->fnPlural($fkEntity); |
||
| 19 | $pkItem = $this->getInflector()->item($pkEntity); |
||
| 20 | $fkItems = $this->getInflector()->items($fkEntity); |
||
| 21 | $pkEntity = $this->getInflector()->entity($pkEntity); |
||
| 22 | $fkEntity = $this->getInflector()->entity($fkEntity); |
||
| 23 | $header = self::getHeaderFile(); |
||
| 24 | |||
| 25 | parent::__construct(\compact('header', 'pkEntity', 'fkEntity', 'name', 'pkItem', 'fkItems')); |
||
| 26 | } |
||
| 27 | |||
| 28 | protected function getFileTemplate(): string |
||
| 31 | } |
||
| 32 | |||
| 33 | protected function getPathTemplate(): string |
||
| 38 |