| Code Coverage
| Lines | Functions and Methods | Classes and Traits
Total |  | n/a | 0 / 0 |  | n/a | 0 / 0 | CRAP |  | n/a | 0 / 0
Generators |  | n/a | 0 / 0 |  | n/a | 0 / 0 | 0 |  | n/a | 0 / 0

1 | <?php
2 |
3 | namespace Config;
4 |
5 | use CodeIgniter\Config\BaseConfig;
6 |
7 | class Generators extends BaseConfig
8 | {
9 | /**
10 | * --------------------------------------------------------------------------
11 | * Generator Commands' Views
12 | * --------------------------------------------------------------------------
13 | *
14 | * This array defines the mapping of generator commands to the view files
15 | * they are using. If you need to customize them for your own, copy these
16 | * view files in your own folder and indicate the location here.
17 | *
18 | * You will notice that the views have special placeholders enclosed in
19 | * curly braces `{...}`. These placeholders are used internally by the
20 | * generator commands in processing replacements, thus you are warned
21 | * not to delete them or modify the names. If you will do so, you may
22 | * end up disrupting the scaffolding process and throw errors.
23 | *
24 | * YOU HAVE BEEN WARNED!
25 | *
26 | * @var array<string, array<string, string>|string>
27 | */
28 | public array $views = [
29 | 'make:cell' => [
30 | 'class' => 'CodeIgniter\Commands\Generators\Views\cell.tpl.php',
31 | 'view' => 'CodeIgniter\Commands\Generators\Views\cell_view.tpl.php',
32 | ],
33 | 'make:command' => 'CodeIgniter\Commands\Generators\Views\command.tpl.php',
34 | 'make:config' => 'CodeIgniter\Commands\Generators\Views\config.tpl.php',
35 | 'make:controller' => 'CodeIgniter\Commands\Generators\Views\controller.tpl.php',
36 | 'make:entity' => 'CodeIgniter\Commands\Generators\Views\entity.tpl.php',
37 | 'make:filter' => 'CodeIgniter\Commands\Generators\Views\filter.tpl.php',
38 | 'make:migration' => 'CodeIgniter\Commands\Generators\Views\migration.tpl.php',
39 | 'make:model' => 'CodeIgniter\Commands\Generators\Views\model.tpl.php',
40 | 'make:seeder' => 'CodeIgniter\Commands\Generators\Views\seeder.tpl.php',
41 | 'make:validation' => 'CodeIgniter\Commands\Generators\Views\validation.tpl.php',
42 | 'session:migration' => 'CodeIgniter\Commands\Generators\Views\migration.tpl.php',
43 | ];
44 | }