tmpFileCopier = $tmpFileCopier; } /** * Copies file from the remote server to the tmp directory * * @param Subject $subject * @param string $path * @return array * @throws FileSystemException * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function beforeExecute(Subject $subject, string $path) { return [$this->tmpFileCopier->copy($path)]; } }