original_string: private function runController(): void
      {
          //get route information
          $action = $this->routeAction;
          $param = $this->routeParam;
  
          //action - call controller passing params
          if (!empty($param)) {
              \call_user_func_array([$this->controller, $action], $param);
              return;
          }
  
          //action - call controller
          if ($action) {
              \call_user_func([$this->controller, $action]);
          }
      }
code: private function runController(): void
      {
          //get route information
          $action = $this->routeAction;
          $param = $this->routeParam;
  
          //action - call controller passing params
          if (!empty($param)) {
              \call_user_func_array([$this->controller, $action], $param);
              return;
          }
  
          //action - call controller
          if ($action) {
              \call_user_func([$this->controller, $action]);
          }
      }
code_tokens: private function runController ( ) : void { //get route information $ action = $ this -> routeAction ; $ param = $ this -> routeParam ; //action - call controller passing params if ( ! empty ( $ param ) ) { \ call_user_func_array ( [ $ this -> controller , $ action ] , $ param ) ; return ; } //action - call controller if ( $ action ) { \ call_user_func ( [ $ this -> controller , $ action ] ) ; } }
docstring: Run controller.
  
  @return void
docstring_tokens: Run controller .