src/Provider/ConsoleServiceProvider.php
public function register(Container $pimple)
    {
        $pimple['console'] = function ($pimple) {
            $console = new ContainerAwareApplication($pimple['console.name'], $pimple['console.version']);
            $console->setDispatcher($pimple['eventDispatcher']);
            $console->setContainer($pimple);

            return $console;
        };
    }
public function register(Container $pimple)
    {
        $pimple['console'] = function ($pimple) {
            $console = new ContainerAwareApplication($pimple['console.name'], $pimple['console.version']);
            $console->setDispatcher($pimple['eventDispatcher']);
            $console->setContainer($pimple);

            return $console;
        };
    }
public function register ( Container $ pimple ) { $ pimple [ 'console' ] = function ( $ pimple ) { $ console = new ContainerAwareApplication ( $ pimple [ 'console.name' ] , $ pimple [ 'console.version' ] ) ; $ console -> setDispatcher ( $ pimple [ 'eventDispatcher' ] ) ; $ console -> setContainer ( $ pimple ) ; return $ console ; } ; }
Registers console services on the given container.

@param Container $pimple A container instance
Registers console services on the given container .