Resource Controllers: Specifying The Resource Model
If you are using route model binding and would like the resource controller's methods to type-hint a model instance, you may use the --model option when generating the controller.
Related concepts
→
Specifying The Resource Model
Semantic portal