The other day I had an Eloquent query that wasn’t returning what I expected it to. I started looking for a way to determine what was happening “under the hood” so to speak. It turns out it’s very simple.
This will output something like the following:
Can we all agree dd() is the best thing for quick debugging ever?
Like this post? Don't forget to follow us on Twitter and Facebook for updates.
All content copyright This Programming Thing 2012 - 2020
Blogging about PHP, MySQL, Zend Framework, MySQL, Server Administration and Programming in general