public function registerMediaDomain($extensions, DomainInterface $mediaDomain)
    {
        foreach ((array) $extensions as $extensions) {
            $this->mediaDomainsMap[strtolower($extensions)] = $mediaDomain;
        }
    }