languageBaseService = $languageBaseService; parent::__construct(); } public function handle() { try { $this->info(date('Y-m-d H:i:s') . ' : ' . date('Y-m-d') . ' LANGUAGE BASE START'); $process = $this->languageBaseService->createApplicationLanguageBaseData(); if($process['status'] != 'success'){ throw new Exception($process['message']) ; } $this->info(date('Y-m-d H:i:s') . ' : ' . date('Y-m-d') . ' LANGUAGE BASE FINISHED'); } catch (Exception $e) { $message = $e->getFile() . " " . $e->getLine() . " " . $e->getMessage(); Log::error($message); $this->error(date('Y-m-d H:i:s') . ' : ' . date('Y-m-d') . ' ERROR: ' . $message); } } }