| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | 1 | public function make(string $moduleName): GenerateableInterface |
|
| 21 | { |
||
| 22 | $this |
||
| 23 | 1 | ->setQualifiedName("Saci\\{$moduleName}\\UseCase\\") |
|
| 24 | 1 | ->setInterfaces(['MappingInterface']) |
|
| 25 | 1 | ->setMethod( |
|
| 26 | 1 | PhpMethod::create('__construct') |
|
| 27 | ) |
||
| 28 | 1 | ->declareUse("Saci\\{$moduleName}\\UseCase\\"); |
|
| 29 | |||
| 30 | 1 | return $this; |
|
| 31 | } |
||
| 32 | } |