Answer the question
In order to leave comments, you need to log in
How to use mutators in hasMany laravel?
Hello!
Got a question. There are 2 models, A and B . Model A is related to model B via hasMany .
Model B contains a date format field, as well as a mutator
protected $dates = [
'time'
];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question