original_string: private function setRoutes(array $routes)
      {
          $this->routes = [];
  
          foreach ($routes as $name => $route) {
              $this->add($name, $route);
          }
      }
code: private function setRoutes(array $routes)
      {
          $this->routes = [];
  
          foreach ($routes as $name => $route) {
              $this->add($name, $route);
          }
      }
code_tokens: private function setRoutes ( array $ routes ) { $ this -> routes = [ ] ; foreach ( $ routes as $ name => $ route ) { $ this -> add ( $ name , $ route ) ; } }
docstring: Sets the initial route collection.
  
  @param array $routes
  
  @return void
docstring_tokens: Sets the initial route collection .