private readonly FilesystemOperator
$filesystem ) { } /**
* @throws MediaException
*/
public function getRelativeMediaUrl(MediaEntity
$media): string
{ $this->
validateMedia($media);
return $this->
toPathString([ 'media',
$this->pathnameStrategy->
generatePathHash($media),
$this->pathnameStrategy->
generatePathCacheBuster($media),
$this->pathnameStrategy->
generatePhysicalFilename($media),
]);
} /**
* @throws MediaException
*/
public function getAbsoluteMediaUrl(MediaEntity
$media): string
{