public function addRoutes(array $routes)
    {
        foreach ($routes as $name => $route) {
            $this->addRoute($name, $route);
        }
        return $this;
    }
public function addRoutes(array $routes)
    {
        foreach ($routes as $name => $route) {
            $this->addRoute($name, $route);
        }
        return $this;
    }
public function addRoutes ( array $ routes ) { foreach ( $ routes as $ name => $ route ) { $ this -> addRoute ( $ name , $ route ) ; } return $ this ; }
Add an array of routes to the routes list, where key is the route name.

@param \Parable\Routing\Route[] $routes

@return $this
Add an array of routes to the routes list where key is the route name .