/** * Execute the job. * * @param FileManager $fileRepository */ public function handle(FileManager $fileRepository) { $this->logger = $this->getJobLogger(); $this->logger->debug("Moving remote file {$this->oldPath} to {$this->newPath} attempt {$this->attempts()}"); $fileRepository->moveRemoteFile($this->oldPath, $this->newPath); }