forked from codeigniter4/CodeIgniter4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGenerators.php
More file actions
38 lines (35 loc) · 1.62 KB
/
Copy pathGenerators.php
File metadata and controls
38 lines (35 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
namespace Config;
use CodeIgniter\Config\BaseConfig;
class Generators extends BaseConfig
{
/**
* --------------------------------------------------------------------------
* Generator Commands' Views
* --------------------------------------------------------------------------
*
* This array defines the mapping of generator commands to the view files
* they are using. If you need to customize them for your own, copy these
* view files in your own folder and indicate the location here.
*
* You will notice that the views have special placeholders enclosed in
* curly braces `{...}`. These placeholders are used internally by the
* generator commands in processing replacements, thus you are warned
* not to delete them or modify the names. If you will do so, you may
* end up disrupting the scaffolding process and throw errors.
*
* YOU HAVE BEEN WARNED!
*
* @var array<string, string>
*/
public $views = [
'make:command' => 'CodeIgniter\\Commands\\Generators\\Views\\command.tpl.php',
'make:controller' => 'CodeIgniter\\Commands\\Generators\\Views\\controller.tpl.php',
'make:entity' => 'CodeIgniter\\Commands\\Generators\\Views\\entity.tpl.php',
'make:filter' => 'CodeIgniter\\Commands\\Generators\\Views\\filter.tpl.php',
'make:migration' => 'CodeIgniter\\Commands\\Generators\\Views\\migration.tpl.php',
'make:model' => 'CodeIgniter\\Commands\\Generators\\Views\\model.tpl.php',
'make:seeder' => 'CodeIgniter\\Commands\\Generators\\Views\\seed.tpl.php',
'session:migration' => 'CodeIgniter\\Commands\\Generators\\Views\\session_migration.tpl.php',
];
}