issueId = $issueId; $this->context = $context; $this->agency = $agency; } public function handle() { $issue = Repo::issue()->get($this->issueId); if (!$issue || !$this->agency) { throw new JobException(JobException::INVALID_PAYLOAD); } $retResults = $this->agency->depositIssues([$issue], $this->context); } }