Example #1
0
 /**
  * Get default Qis object
  *
  * @param Qi_Console_ArgV $args Arguments
  * @return void
  */
 protected function _getDefaultQisObject($args = array())
 {
     $args = new Qi_Console_ArgV($args);
     $terminal = new Qi_Console_Terminal();
     Qis::$exit = false;
     return new Qis($args, $terminal);
 }
 /**
  * Handle exception
  * 
  * @param Exception $e Exception object
  * @return void
  */
 public static function handle(Exception $e)
 {
     self::$qis->displayError($e->getMessage());
 }