Gets the file URL.
string|null $uri: The file URI.
string The file URL.
public function getFileUrl(?string $uri) : string { if (is_null($uri)) { return ''; } return $this->fileUrlGenerator ->generateString($uri); }