argument('ftn')); if (! $ao) throw new ModelNotFoundException('Unknown node: '.$this->argument('ftn')); Log::info(sprintf('CES:- Call EMSI send for %s',$ao->ftn)); $mo = Mailer::where('name','EMSI')->sole(); if ($this->option('now')) Job::dispatchSync($ao,$mo); else Job::dispatch($ao,$mo); return self::SUCCESS; } }