Add a route that matches the given HTTP verbs
@param array $verbs
@param string $path
@param $handler
@return array
@since 1.4.0
185596
public static function match(array $verbs, string $path, $handler) : array
    {
        $routes = [];

        foreach ($verbs as $verb) {
            switch (strtolower($verb)) {
                case 'get':
                    $routes[] = static::get($path, $handler);
                    break;
                case 'post':
                    $routes[] = static::post($path, $handler);
                    break;
                case 'put':
                    $routes[] = static::put($path, $handler);
                    break;
                case 'patch':
                    $routes[] = static::patch($path, $handler);
                    break;
                case 'delete':
                    $routes[] = static::delete($path, $handler);
                    break;
            }
        }

        return $routes;
    }
339372
public Blade get(@NonNull String path, @NonNull RouteHandler handler) {
        this.routeMatcher.addRoute(path, handler, HttpMethod.GET);
        return this;
    }
84664
public RouteMatcher connect(String pattern, Handler<HttpServerRequest> handler) {
		addPattern(pattern, handler, connectBindings);
		return this;
	}
1245613
public Blade after(@NonNull String path, @NonNull RouteHandler handler) {
        this.routeMatcher.addRoute(path, handler, HttpMethod.AFTER);
        return this;
    }
1312323
protected function createRequest($verb, $path, $parameters = [])
    {
        if (isset($parameters['file'])) {
            $this->queueResourceAs(
                'file',
                Psr7\stream_for($parameters['file'])
            );
            unset($parameters['file']);
        }

        $request = new Request(
            $verb,
            $this->getUrlFromPath($path),
            $this->getHeaders()
        );

        return $request->withUri(
            $request->getUri()->withQuery(
                http_build_query($parameters)
            )
        );
    }
201371
public function all($pattern, $handler)
    {

        return $this->addRoute(
            new Route([Method::GET, Method::POST], $pattern, $handler)
        );
    }
325209
public function option($path, callable $handler): RouterInterface
    {
        $ruler = $this->createRuler('OPTION', $path);
        return $this->addRuler($ruler, $handler);
    }
532344
public function put(string $path, $handler)
  {
    return $this->request($path, Request::HTTP_PUT, $handler);
  }
1070740
public function addRoute($methods, $pattern, $handler, array $requirements = [], array $defaults = [])
    {
        list ($name, $host, $schemes, $constraints) = $this->parseRequirements(
            $this->extendRequirements($requirements),
            $methods
        );

        $route = new Route(
            $this->prefixPattern($pattern),
            $handler,
            is_array($methods) ? $methods : explode('|', $methods),
            $host,
            $defaults,
            $constraints,
            is_array($schemes) ? $schemes : explode('|', $schemes)
        );

        $this->routes->add($name, $route);
    }
908335
public RouteMatcher put(String pattern, Handler<HttpServerRequest> handler) {
		addPattern(pattern, handler, putBindings);
		return this;
	}
1008364
public static function any(string $path, $handler) : array
    {
        return [
            static::get($path, $handler),
            static::post($path, $handler),
            static::put($path, $handler),
            static::patch($path, $handler),
            static::delete($path, $handler),
        ];
    }
226524
public function request($verb, $path, $content = null, array $headers = array())
    {
        return $this->client->request($verb, sprintf('/session/%s/%s', $this->sessionId, $path), $content, $headers);
    }
438904
def add_route_for_all_verbs(path, controller)
      add_route('GET', path, controller)
      add_route('POST', path, controller)
      add_route('DELETE', path, controller)
      add_route('PUT', path, controller)
    end
588876
public function get($uri, $handler, $middlewares = array())
    {
        return $this->add($this->route('GET', $uri, $handler, $middlewares));
    }
380088
public RouteMatcher get(String pattern, Handler<HttpServerRequest> handler) {
		addPattern(pattern, handler, getBindings);
		return this;
	}
381562
public function match(array $methods, string $pattern, $handler)
    {
        $this['route.collector']->addRoute($methods, $pattern, $handler);
    }
1142598
public function get(string $path, $handler)
  {
    return $this->request($path, Request::HTTP_GET | Request::HTTP_HEAD, $handler);
  }