do = $domain ? Domain::where('name',$domain)->singleOrFail() : NULL; $this->onQueue(self::QUEUE); } /** * Execute the job. * * @return void * @throws FileNotFoundException */ public function handle() { $to = new Tic; $to->load($this->file); Log::info(sprintf('%s:Processed [%s] storing [%s] as id [%d]',self::LOGKEY,$this->file,$to->fo->file,$to->fo->id)); unlink($this->file); if ($to->isNodelist()) NodelistImport::dispatch($to->fo,$this->domain); } }