Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | abstract class OOPStructure extends DependencyAwareGenerator |
||
8 | { |
||
9 | use ScopedContentTrait; |
||
10 | use DocBlockTrait; |
||
11 | |||
12 | public string $name; |
||
13 | |||
14 | 6 | public function __construct(string $name) |
|
15 | { |
||
16 | 6 | $this->name = $name; |
|
17 | 6 | } |
|
18 | |||
19 | 5 | public static function new(string $name): self |
|
22 | } |
||
23 | } |
||
24 |