mercredi 2 septembre 2015

Laravel: Should I create custom methods in my model static?

Eloquent provides almost all methods as static methods. I need to add my custom methods in model. I wonder should I declare my functions static? What's best in terms of implementation and performance?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1O9lqSG
via IFTTT

Aucun commentaire:

Enregistrer un commentaire