protected function registerRoutes(array $routes)
    {
        foreach ($routes as $route => $config) {
            $this->registerRoute($route, $config);
        }
    }
protected function registerRoutes(array $routes)
    {
        foreach ($routes as $route => $config) {
            $this->registerRoute($route, $config);
        }
    }
protected function registerRoutes ( array $ routes ) { foreach ( $ routes as $ route => $ config ) { $ this -> registerRoute ( $ route , $ config ) ; } }
Registers a new route.

@param array $routes A collection of routes to add

@author Benjamin Carl <opensource@clickalicious.de>
Registers a new route .