original_string: public function processRoute()
      {
          foreach ($this->getList() as $pattern => $route) {
  
              if (isset($route['status']) && empty($route['status'])) {
                  continue;
              }
  
              $arguments = array();
  
              if (gplcart_path_match($this->path, $pattern, $arguments)) {
                  $this->callController($pattern, $arguments);
              }
          }
      }
code: public function processRoute()
      {
          foreach ($this->getList() as $pattern => $route) {
  
              if (isset($route['status']) && empty($route['status'])) {
                  continue;
              }
  
              $arguments = array();
  
              if (gplcart_path_match($this->path, $pattern, $arguments)) {
                  $this->callController($pattern, $arguments);
              }
          }
      }
code_tokens: public function processRoute ( ) { foreach ( $ this -> getList ( ) as $ pattern => $ route ) { if ( isset ( $ route [ 'status' ] ) && empty ( $ route [ 'status' ] ) ) { continue ; } $ arguments = array ( ) ; if ( gplcart_path_match ( $ this -> path , $ pattern , $ arguments ) ) { $ this -> callController ( $ pattern , $ arguments ) ; } } }
docstring: Find an appropriate controller for the URL
docstring_tokens: Find an appropriate controller for the URL