protected function addRoutes(ControllerCollection $c)
    {
        $c->get('', 'overview')
            ->bind('extensions');

        // Allows BC with 3.2 and earlier, to be removed in 4.0
        $c->get('', 'overview')
            ->bind('extend');

        $c->get('/check', 'check')
            ->bind('check');

        $c->get('/depends', 'dependsPackage')
            ->bind('dependsPackage');

        $c->get('/prohibits', 'prohibitsPackage')
            ->bind('prohibitsPackage');

        $c->get('/dumpAutoload', 'dumpAutoload')
            ->bind('dumpAutoload');

        $c->get('/update', 'update')
            ->bind('update');

        $c->get('/install', 'install')
            ->bind('install');

        $c->get('/uninstall', 'uninstall')
            ->bind('uninstall');

        $c->get('/installed', 'installed')
            ->bind('installed');

        $c->get('/installAll', 'installAll')
            ->bind('installAll');

        $c->get('/installPackage', 'installPackage')
            ->bind('installPackage');

        $c->get('/installInfo', 'installInfo')
            ->bind('installInfo');

        $c->get('/packageInfo', 'packageInfo')
            ->bind('packageInfo');

        $c->get('/generateTheme', 'generateTheme')
            ->bind('generateTheme');
    }
protected function addRoutes(ControllerCollection $c)
    {
        $c->get('', 'overview')
            ->bind('extensions');

        // Allows BC with 3.2 and earlier, to be removed in 4.0
        $c->get('', 'overview')
            ->bind('extend');

        $c->get('/check', 'check')
            ->bind('check');

        $c->get('/depends', 'dependsPackage')
            ->bind('dependsPackage');

        $c->get('/prohibits', 'prohibitsPackage')
            ->bind('prohibitsPackage');

        $c->get('/dumpAutoload', 'dumpAutoload')
            ->bind('dumpAutoload');

        $c->get('/update', 'update')
            ->bind('update');

        $c->get('/install', 'install')
            ->bind('install');

        $c->get('/uninstall', 'uninstall')
            ->bind('uninstall');

        $c->get('/installed', 'installed')
            ->bind('installed');

        $c->get('/installAll', 'installAll')
            ->bind('installAll');

        $c->get('/installPackage', 'installPackage')
            ->bind('installPackage');

        $c->get('/installInfo', 'installInfo')
            ->bind('installInfo');

        $c->get('/packageInfo', 'packageInfo')
            ->bind('packageInfo');

        $c->get('/generateTheme', 'generateTheme')
            ->bind('generateTheme');
    }
protected function addRoutes ( ControllerCollection $ c ) { $ c -> get ( '' , 'overview' ) -> bind ( 'extensions' ) ; // Allows BC with 3.2 and earlier, to be removed in 4.0 $ c -> get ( '' , 'overview' ) -> bind ( 'extend' ) ; $ c -> get ( '/check' , 'check' ) -> bind ( 'check' ) ; $ c -> get ( '/depends' , 'dependsPackage' ) -> bind ( 'dependsPackage' ) ; $ c -> get ( '/prohibits' , 'prohibitsPackage' ) -> bind ( 'prohibitsPackage' ) ; $ c -> get ( '/dumpAutoload' , 'dumpAutoload' ) -> bind ( 'dumpAutoload' ) ; $ c -> get ( '/update' , 'update' ) -> bind ( 'update' ) ; $ c -> get ( '/install' , 'install' ) -> bind ( 'install' ) ; $ c -> get ( '/uninstall' , 'uninstall' ) -> bind ( 'uninstall' ) ; $ c -> get ( '/installed' , 'installed' ) -> bind ( 'installed' ) ; $ c -> get ( '/installAll' , 'installAll' ) -> bind ( 'installAll' ) ; $ c -> get ( '/installPackage' , 'installPackage' ) -> bind ( 'installPackage' ) ; $ c -> get ( '/installInfo' , 'installInfo' ) -> bind ( 'installInfo' ) ; $ c -> get ( '/packageInfo' , 'packageInfo' ) -> bind ( 'packageInfo' ) ; $ c -> get ( '/generateTheme' , 'generateTheme' ) -> bind ( 'generateTheme' ) ; }
Returns routes to connect to the application.

@param \Silex\ControllerCollection $c
Returns routes to connect to the application .