src/Sulu/Bundle/MediaBundle/Media/FormatOptions/FormatOptionsManager.php
private function purgeMedia($mediaId, FileVersion $fileVersion)
    {
        $this->formatManager->purge(
            $mediaId,
            $fileVersion->getName(),
            $fileVersion->getMimeType(),
            $fileVersion->getStorageOptions()
        );
    }
private function purgeMedia($mediaId, FileVersion $fileVersion)
    {
        $this->formatManager->purge(
            $mediaId,
            $fileVersion->getName(),
            $fileVersion->getMimeType(),
            $fileVersion->getStorageOptions()
        );
    }
private function purgeMedia ( $ mediaId , FileVersion $ fileVersion ) { $ this -> formatManager -> purge ( $ mediaId , $ fileVersion -> getName ( ) , $ fileVersion -> getMimeType ( ) , $ fileVersion -> getStorageOptions ( ) ) ; }
Purges a file-version of a media with a given id.

@param int $mediaId
@param FileVersion $fileVersion
Purges a file - version of a media with a given id .