Add initController section in spark make:controller |
Hello, in my personal opinion
It would be logical for Code: php spark make:controller to include the Code: initController() skeleton as part of its default template, similar to how it handles models with make:model . The parallel with Code: make:model is fitting: when you generate a model with PHP Spark, it comes populated with various default settings that you can adapt or remove based on your needs. Applying the same approach to controllers would make sense. Considering that:
Regards R.
Can you create a PR for improvement?
A PR is a pull request on github and is used to request a feature or improvement to Codeigniter.
See this site: https://github.com/codeigniter4/CodeIgniter4/pulls I have written here , given the name of the forum section but , sure I'll write it in github too -------- Sorry tried , looks a mess Can you kindly explain what to set to get the button for pulling a request? Thank you
Read https://github.com/codeigniter4/CodeIgni...ntributing
Your bug report (issue) will probably be closed. |
Welcome Guest, Not a member yet? Register Sign In |