Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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