Va el mio...
Código PHP:
Ver originalpublic function connect(Application $app)
{
$controllers = $app['controllers_factory'];
$controllers->get('/', function(Request $request) use ($app) {
$page = $request->query->get('page', 1);
//....
});
return $controllers;
}