/**
  * @param MediaInterface $media
  *
  * @return string
  */
 public function getMediaUrl(MediaInterface $media = null)
 {
     if (!$media) {
         return false;
     }
     $mediaDir = $this->options['uploader']['media_path'];
     return sprintf('/%s/%s', $mediaDir, $media->getFilename());
 }