onQueue(config('parity.import.queue', 'default')); } public function handle(ImportService $service): void { $collections = $this->collection ? [$this->collection] : null; $service->importUser($this->did, $collections); } /** * Get the tags that should be assigned to the job. * * @return array */ public function tags(): array { $tags = ['parity-import', "did:{$this->did}"]; if ($this->collection) { $tags[] = "collection:{$this->collection}"; } return $tags; } }