original_string: public function processRequest()
      {
          $this->signal->send($this, 'onProcessRequest');
  
          if (Console::isCli()) {
              $exitCode = $this->_runner->run($_SERVER['argv']);
              if (is_int($exitCode)) {
                  $this->end($exitCode);
              }
          } else {
              $this->runController($this->parseRoute());
          }
      }
code: public function processRequest()
      {
          $this->signal->send($this, 'onProcessRequest');
  
          if (Console::isCli()) {
              $exitCode = $this->_runner->run($_SERVER['argv']);
              if (is_int($exitCode)) {
                  $this->end($exitCode);
              }
          } else {
              $this->runController($this->parseRoute());
          }
      }
code_tokens: public function processRequest ( ) { $ this -> signal -> send ( $ this , 'onProcessRequest' ) ; if ( Console :: isCli ( ) ) { $ exitCode = $ this -> _runner -> run ( $ _SERVER [ 'argv' ] ) ; if ( is_int ( $ exitCode ) ) { $ this -> end ( $ exitCode ) ; } } else { $ this -> runController ( $ this -> parseRoute ( ) ) ; } }
docstring: Processes the current request.
  It first resolves the request into controller and action,
  and then creates the controller to perform the action.
docstring_tokens: Processes the current request . It first resolves the request into controller and action and then creates the controller to perform the action .