original_string: public function callController($route = null)
      {
          if (!isset($route)) {
              $route = $this->route;
          }
  
          $callback = Handler::get($route, null, 'controller');
  
          if (!$callback[0] instanceof CliController) {
              throw new LogicException('Controller must be instance of \gplcart\core\CliController');
          }
  
          call_user_func($callback);
  
          throw new LogicException('The command was completed incorrectly');
      }
code: public function callController($route = null)
      {
          if (!isset($route)) {
              $route = $this->route;
          }
  
          $callback = Handler::get($route, null, 'controller');
  
          if (!$callback[0] instanceof CliController) {
              throw new LogicException('Controller must be instance of \gplcart\core\CliController');
          }
  
          call_user_func($callback);
  
          throw new LogicException('The command was completed incorrectly');
      }
code_tokens: public function callController ( $ route = null ) { if ( ! isset ( $ route ) ) { $ route = $ this -> route ; } $ callback = Handler :: get ( $ route , null , 'controller' ) ; if ( ! $ callback [ 0 ] instanceof CliController ) { throw new LogicException ( 'Controller must be instance of \gplcart\core\CliController' ) ; } call_user_func ( $ callback ) ; throw new LogicException ( 'The command was completed incorrectly' ) ; }
docstring: Call a route controller
  @param null|array
  @throws LogicException
docstring_tokens: Call a route controller