laravel/framework — pull request #2256 by crazycodr (2013-09-10 15:02:15+00:00)
Title: Added request method in Request object

To be able to use "item[x][y][z]" in requests, (Commonly called subform data in other frameworks i think) I was forced to use query() method instead of get(). Sadly, query() is only for query variables and not for posted request variables.

I added request() to mimic the query() features provided by the Symfony HTTPFoundation but it maps to request variables instead of query variables. This way, nothing is broken but we get a new data access feature.

See: http://stackoverflow.com/questions/18704067/how-do-you-work-with-sub-forms-in-laravel-4