original_string: public function validate(string $requestUri, string $requestMethod): bool
      {
          $route = $this->findRoute($this->filterUri($requestUri), $requestMethod);
  
          if ($route instanceof Route) {
              $this->buildValidRoute($route);
              return true;
          }
  
          $this->buildErrorRoute();
  
          return false;
      }
code: public function validate(string $requestUri, string $requestMethod): bool
      {
          $route = $this->findRoute($this->filterUri($requestUri), $requestMethod);
  
          if ($route instanceof Route) {
              $this->buildValidRoute($route);
              return true;
          }
  
          $this->buildErrorRoute();
  
          return false;
      }
code_tokens: public function validate ( string $ requestUri , string $ requestMethod ) : bool { $ route = $ this -> findRoute ( $ this -> filterUri ( $ requestUri ) , $ requestMethod ) ; if ( $ route instanceof Route ) { $ this -> buildValidRoute ( $ route ) ; return true ; } $ this -> buildErrorRoute ( ) ; return false ; }
docstring: Evaluate request uri.
  
  @param string $requestUri
  @param string $requestMethod
  
  @return bool
docstring_tokens: Evaluate request uri .