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.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire