src/Silex/Provider/ConsoleServiceProvider.php
public function boot(SilexApplication $app)
    {
        $consoleDispatcher = $app['dispatcher'];
        $consoleDispatcher->addSubscriber(new LoggerListener);
        $app['dispatcher'] = $consoleDispatcher;
    }
public function boot(SilexApplication $app)
    {
        $consoleDispatcher = $app['dispatcher'];
        $consoleDispatcher->addSubscriber(new LoggerListener);
        $app['dispatcher'] = $consoleDispatcher;
    }
Bootstraps the application.

This method is called after all services are registered
and should be used for "dynamic" configuration (whenever
a service must be requested).

@param SilexApplication $app Application instance

@return void