Back to the Learning

Back to the Learning!

Laracasts is packed full with over 1,000 lessons just like this one.
Sign up to get full access or log in to your account and sit back.

How Do I Reference Objects Like Arrays

Episode 16 Run Time 4:31

From time to time, you may find yourself in the position of needing to interact with an object's data as if it's an array. The solution is to implement PHP's ArrayAccess interface. I'll show you how in this episode.

Publish Date: May 1, 2017