0re1
248
2
Laravel

Mutator for multiple columns

Posted 3 years ago by 0re1

Greetings,

is there a way to have mutator for multiple columns? I have an address in DB and I would like to select street, number and city and return it nicely formated as "[street] [number], [city]" when getting data from DB

Help much appreciated.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.