Laravel – How to create a generic interface for multiple controllers with different method parameters?
In Laravel 11, I'm trying to make a single interface for all of the CRUD resource controllers in my API. Something like this (showing for store() method only): <?php namespace AppInterfaces; use IlluminateHttpRequest; use IlluminateHttpJsonResponse; use IlluminateFoundationHttpFormRequest; interface ResourceInterface {…