original_string: public function addRoutes(array $routes)
      {
          foreach ($routes as $name => $route) {
              $this->addRoute($name, $route);
          }
          return $this;
      }
code: public function addRoutes(array $routes)
      {
          foreach ($routes as $name => $route) {
              $this->addRoute($name, $route);
          }
          return $this;
      }
code_tokens: public function addRoutes ( array $ routes ) { foreach ( $ routes as $ name => $ route ) { $ this -> addRoute ( $ name , $ route ) ; } return $ this ; }
docstring: Add an array of routes to the routes list, where key is the route name.
  
  @param \Parable\Routing\Route[] $routes
  
  @return $this
docstring_tokens: Add an array of routes to the routes list where key is the route name .