public function registerMediaDomain($extensions, DomainInterface $mediaDomain)
    {
        foreach ((array) $extensions as $extensions) {
            $this->mediaDomainsMap[strtolower($extensions)] = $mediaDomain;
        }
    }
public function registerMediaDomain($extensions, DomainInterface $mediaDomain)
    {
        foreach ((array) $extensions as $extensions) {
            $this->mediaDomainsMap[strtolower($extensions)] = $mediaDomain;
        }
    }
public function registerMediaDomain ( $ extensions , DomainInterface $ mediaDomain ) { foreach ( ( array ) $ extensions as $ extensions ) { $ this -> mediaDomainsMap [ strtolower ( $ extensions ) ] = $ mediaDomain ; } }
Register a media domain for given file extension set.

@param string|array    $extensions
@param DomainInterface $mediaDomain
Register a media domain for given file extension set .