illuminate/database — pull request #38 by franzliedke (2012-11-07 13:36:06+00:00)
Title: Eloquent Model: Implement ArrayAccess interface

First of all, it's a convenience feature.

Secondly, it allows me to do things like `url('route_name', $model_object)` in my custom router and, when generating the URL, have access to all the attributes of the model. Saves me some array typing and is very flexible if you want to swap out URL schemes.

I'm currently digging into the Symfony Routing component to check whether that works there, too.