original_string: public function attach($methods, $match, $callable)
      {
          if (is_string($methods)) {
              $methods = [$methods];
          }
          $route = new Route($methods, $callable);
          $this->storage[$match] = $route;
          return $route;
      }
code: public function attach($methods, $match, $callable)
      {
          if (is_string($methods)) {
              $methods = [$methods];
          }
          $route = new Route($methods, $callable);
          $this->storage[$match] = $route;
          return $route;
      }
code_tokens: public function attach ( $ methods , $ match , $ callable ) { if ( is_string ( $ methods ) ) { $ methods = [ $ methods ] ; } $ route = new Route ( $ methods , $ callable ) ; $ this -> storage [ $ match ] = $ route ; return $ route ; }
docstring: Attach a route field to storage.
  
  @param string $method Http method.
  @param string $match
  @param callback $callable
  
  @return Route
docstring_tokens: Attach a route field to storage .