How should I convert the processing using DB that I use repeatedly into external files? Please let me know how Laravel has been decided.
I have three options.
-
I turn common processing into service. Should I create a service container and service provider?
-
I write my pains in Model. However, the source code of OSS I saw was only described in Relation in Model.
-
I make class files where I want.
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2Z0ANZh
via IFTTT
Aucun commentaire:
Enregistrer un commentaire