lundi 26 septembre 2016

Laravel custom model casts

Is there a way in Laravel to add your own custom model casts in addition to the built in ones?

Currently I can use getters and mutators but these end up getting repeated for lots of fields.



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

Aucun commentaire:

Enregistrer un commentaire