fabpot/Silex — pull request #362 by fabpot (2012-06-13 18:17:56+00:00)
Title: Implements route after middleware (closes #336)

This PR renames the `middleware` method to `before` and adds a new `after` route middleware.

These changes make Silex more consistent from a user point of view:

* he can do something before the route callback on an application, a route collection, or just a route (by calling the `before` method on these objects);

* he can do something after the route callback by calling the `after` method on an application, a route collection, or just a route.