Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
14 | 7 | final class UseCaseBuilder extends AbstractBuilder |
|
15 | { |
||
16 | 7 | public function __construct(string $entity, string $action) |
|
17 | { |
||
18 | $entity = $this->getPascalCase($this->getSingularize($entity)); |
||
19 | 7 | $action = $this->getPascalCase($action); |
|
20 | |||
21 | 7 | parent::__construct(\compact('entity', 'action')); |
|
22 | } |
||
23 | |||
24 | protected function getFileTemplate(): string |
||
27 | } |
||
28 | |||
29 | protected function getPathTemplate(): string |
||
34 |