public function matchMethod(RequestInterface $request, array $maps)
    {
        $matched = [];

        $method = $request->getMethod();

        /** @var RequestMap $map */
        foreach ($maps as $map) {
            if ($map->getRequest()->getMethod() === $method) {
                $matched[] = $map;
            }
        }

        return $matched;
    }