laravel/framework — pull request #942 by KaneCohen (2013-04-15 11:36:14+00:00)
Title: Provide closure filters $route and $request vars

When adding filters in Controller constructs, provide closure filters $route and $request variables besides $parameters array.

````php
// in construct
$this->beforeFilter(function($route, $request, $parameters)
{
// code
}
````

One difference, now when calling afterFilter, it'll provide $response as the third parameter
````
// in construct
$this->afterFilter(function($route, $request, $response)
{
// code
}
````