code: public function dispatch($httpMethod, $uri)
      {
          $routes = array();
  
          foreach ($this->routes as $route) {
              $parsed = $this->parse($httpMethod, $uri, $route);
  
              $routes[] = $parsed;
          }
  
          $route = $this->retrieve($routes, $uri);
  
          return array(array($route[0], $route[1]), $route[2]);
      }
docs: Dispatches against the provided HTTP method verb and URI.
  
  @param  string $httpMethod
  @param  string $uri
  @return array|mixed