You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Question, I have a laravel Model with an object cast to a Decimal object:
Now if I output a Model instance the output of the market_price attribute is not very useful:
Is there a way to format the attributes? I would expect this to work with overwriting the __debugInfo() on the Model.php:
to get a formatted result:
Actually, I could not find I way to do this.
Thank you very much for your help
Beta Was this translation helpful? Give feedback.
All reactions