5 months ago

Referencing all Models at once in a Controller?

Posted 5 months ago by zaster
use App\Http\Models\CarModel;

The relevant models are used in a controller file as mentioned above

Is it possible to, like have a template kind of a thing to include all those models in a project and then import only that in a controller (Assuming all models have unique names)?

Is this practical ?

Are there any performance issues ?

Please sign in or create an account to participate in this conversation.