/** * Exit Ko * * @param object $confirmation * @param object $booking * @return array */ public function exitKo($confirmation, $booking) { CHlib::rawExit('KO'); }
/** * Plugin Exit Ko */ protected function exitAppPluginKo($confirmation, $booking) { // load the plugin $dispatcher = $this->loadPluginDispatcher(); if (!$dispatcher) { throw new Exception('An error occurred: plugin not loaded', 403); } // excute task $dispatcher->trigger('exitKo', [$confirmation, $booking]); // exit app CHlib::rawExit('KO'); }