Answer the question
In order to leave comments, you need to log in
Laravel how to call accessors when getting a model?
Laravel how to call accessors when getting a model? To avoid duplicating code. It's just that the controllers prepare the data and send it to the front in the form of json and there is no way to call the accessor in the view
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