I have a list of date fields, and all of them have the same logic in the mutator. I would like to extract this functionality to a trait so that in the future all I would need is to create an array of date fields in the model and use the trait.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2qscAx6
via IFTTT
Aucun commentaire:
Enregistrer un commentaire