src/Sylex/ServiceProvider.php
public function register(SilexApplication $app)
    {
        $app['resolver'] = $app->share(function () use ($app) {
            return new ControllerResolver($app, $app['logger']);
        });
    }
public function register(SilexApplication $app)
    {
        $app['resolver'] = $app->share(function () use ($app) {
            return new ControllerResolver($app, $app['logger']);
        });
    }
{@inheritdoc}