original_string: public function addRoutesFromArray(array $routes)
      {
          foreach ($routes as $name => $route) {
              $this->addRouteFromArray($name, $route);
          }
          return $this;
      }
code: public function addRoutesFromArray(array $routes)
      {
          foreach ($routes as $name => $route) {
              $this->addRouteFromArray($name, $route);
          }
          return $this;
      }
code_tokens: public function addRoutesFromArray ( array $ routes ) { foreach ( $ routes as $ name => $ route ) { $ this -> addRouteFromArray ( $ name , $ route ) ; } return $ this ; }
docstring: Add an array of routes defined by array data to the router.
  
  @param array $routes
  
  @return $this
docstring_tokens: Add an array of routes defined by array data to the router .