Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
14 | final class FkRequestBuilder extends AbstractBuilder |
||
15 | { |
||
16 | public function __construct(string $pkEntity, string $fkEntity) |
||
17 | { |
||
18 | $pkEntity = $this->getPascalCase($this->getSingularize($pkEntity)); |
||
19 | $fkEntity = $this->getPascalCase($this->getSingularize($fkEntity)); |
||
20 | |||
21 | parent::__construct(\compact('pkEntity', 'fkEntity')); |
||
22 | } |
||
23 | |||
24 | protected function getFileTemplate(): string |
||
25 | { |
||
26 | return 'FkRequest.php.twig'; |
||
27 | } |
||
28 | |||
29 | protected function getPathTemplate(): string |
||
32 | } |
||
33 | } |
||
34 |