public function attach($methods, $match, $callable)
    {
        if (is_string($methods)) {
            $methods = [$methods];
        }
        $route = new Route($methods, $callable);
        $this->storage[$match] = $route;
        return $route;
    }
public function attach($methods, $match, $callable)
    {
        if (is_string($methods)) {
            $methods = [$methods];
        }
        $route = new Route($methods, $callable);
        $this->storage[$match] = $route;
        return $route;
    }
public function attach ( $ methods , $ match , $ callable ) { if ( is_string ( $ methods ) ) { $ methods = [ $ methods ] ; } $ route = new Route ( $ methods , $ callable ) ; $ this -> storage [ $ match ] = $ route ; return $ route ; }
Attach a route field to storage.

@param string $method Http method.
@param string $match
@param callback $callable

@return Route
Attach a route field to storage .