public function __construct(MediaInterface $media, $locale, $version = null) { $this->entity = $media; $this->locale = $locale; $this->version = $version; }