arguments(); if(Arr::has($arguments,'val','')) { $this->info(wall_encrypt(Arr::get($arguments,'val'))); } else { $this->error("No value to encrypt"); } } catch (\Exception $e) { report($e); $this->error($e->getMessage()); } } }