protected function dispatchStaticRoute($httpMethod, $uri)
    {
        $routes = $this->staticRouteMap[$uri];

        if (!isset($routes[$httpMethod])) {
            $httpMethod = $this->checkFallbacks($routes, $httpMethod);
        }

        return $routes[$httpMethod];
    }
protected function dispatchStaticRoute($httpMethod, $uri)
    {
        $routes = $this->staticRouteMap[$uri];

        if (!isset($routes[$httpMethod])) {
            $httpMethod = $this->checkFallbacks($routes, $httpMethod);
        }

        return $routes[$httpMethod];
    }
protected function dispatchStaticRoute ( $ httpMethod , $ uri ) { $ routes = $ this -> staticRouteMap [ $ uri ] ; if ( ! isset ( $ routes [ $ httpMethod ] ) ) { $ httpMethod = $ this -> checkFallbacks ( $ routes , $ httpMethod ) ; } return $ routes [ $ httpMethod ] ; }
Handle the dispatching of static routes.

@param $httpMethod
@param $uri
@return mixed
@throws HttpMethodNotAllowedException
Handle the dispatching of static routes .