📜  laravel 中的资源控制器 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:40.735000             🧑  作者: Mango

代码示例6
Simple controller:
php artisan make:controller nameOfController  
  
Want to create controller in a folder? use it like this:
php artisan make:controller NameOfFolder/nameOfController  
  
Resource Controller:This controller will create all CRUD methods
php artisan make:controller nameOfController --resource