Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class ParametersProvider |
||
8 | { |
||
9 | 8 | public function __construct( |
|
10 | /** |
||
11 | * @var array<string, array<string, string>> a list of available code templates. The array keys are the template names, |
||
12 | * and the array values are the corresponding template paths or path aliases. |
||
13 | */ |
||
14 | private readonly array $templates = [], |
||
15 | ) { |
||
16 | 8 | } |
|
17 | |||
18 | 4 | public function getTemplates(string $generator): array |
|
22 | } |
||
23 | } |
||
24 |