laravel/laravel — pull request #555 by joecwallace (2012-04-18 20:30:47+00:00)
Title: Added $response as parameter for 'laravel.done' event

According to the documentation:

Event fired when a database query is executed:

Event::listen('laravel.query', function($sql, $bindings, $time) {});

The code, however, runs (in ```laravel/laravel.php```)

Event::fire('laravel.done');

I added the reponse parameter:

Event::fire('laravel.done', $response);

Now the code matches the docs, and listeners/handlers of the 'laravel.done' event - like my new bundle Rejigger - can have access to the response.

Signed-off-by: Joe Wallace