Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 60% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class GiiParametersProvider |
||
8 | { |
||
9 | 3 | public function __construct( |
|
10 | /** |
||
11 | * @var 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 array $templates = [], |
||
15 | ) { |
||
16 | } |
||
17 | |||
18 | 2 | public function getTemplates(): array |
|
21 | } |
||
22 | |||
23 | //TODO: fix |
||
24 | public function getRequiredTemplates(): array |
||
29 |