In Laravel it is very normal to get data from related objects like $customer->wallet->balance.
What is the best approach in testing the value of the customers' current balance?
Sometimes this even goes a layer deeper.
Please sign in or create an account to participate in this conversation.
Use Markdown with
GitHub-flavored code blocks.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!