mercredi 1 janvier 2020

Laravel 5.8 - Using Multiple Models in Service or Controller Dynamically

I have a structure wherein the Models folder holds all the model files for the project feature-wise, Example - all the user-related model files will be inside the Models/User folder.

I want to use App\Models\User* Kind of thing which should make things simpler and also while constructing the object of the class all the models should be available to $this->



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/36rjhkM
via IFTTT

Aucun commentaire:

Enregistrer un commentaire