public function setDownloadUrlGenerator(PathGenerator $downloadUrlGenerator) { $this->downloadUrlGenerator = $downloadUrlGenerator; }