original_string: public function setHost($pattern, array $defaults = [], array $requirements = [])
      {
          foreach ($this->routes as $route) {
              $route->setHost($pattern);
              $route->addDefaults($defaults);
              $route->addRequirements($requirements);
          }
      }
code: public function setHost($pattern, array $defaults = [], array $requirements = [])
      {
          foreach ($this->routes as $route) {
              $route->setHost($pattern);
              $route->addDefaults($defaults);
              $route->addRequirements($requirements);
          }
      }
code_tokens: public function setHost ( $ pattern , array $ defaults = [ ] , array $ requirements = [ ] ) { foreach ( $ this -> routes as $ route ) { $ route -> setHost ( $ pattern ) ; $ route -> addDefaults ( $ defaults ) ; $ route -> addRequirements ( $ requirements ) ; } }
docstring: Sets the host pattern on all routes.
  
  @param string $pattern      The pattern
  @param array  $defaults     An array of default values
  @param array  $requirements An array of requirements
docstring_tokens: Sets the host pattern on all routes .