Use pluck to get a deeply nested value
Tweet – – twitter.com
? The "pluck" method in Laravel's collections can take a string with dots to get a list of deeply nested values. You can also add a star to combine deeply nested lists ?https://t.co/qckA0dLw45 pic.twitter.com/3im6dGYoTi
— Joseph Silber (@joseph_silber) October 25, 2018