obsidian/MyObsidianVault/Knowledgebase/WebDev/2 CodeIgniter/_Course Notes/09.) creating a restful controller.md

12 lines
317 B
Markdown
Raw Normal View History

2024-11-17 12:05:52 +01:00
```bash
php spark make:controller Api/Api --suffix --restful
```
#17/38
== > Created controller ApiController (in Controlles subfolder Api) will have 9 methods.
( WHich the tutorial doesnt use, basically only difference to standard Controllers is usage of ResourceController)
![[Pasted image 20241117112106.png]]