public function isIgnoredDomain($domain)
    {
        if ($ignoreRegexes = $this->config()->get('ignore_domain_regexes')) {
            foreach ($ignoreRegexes as $ignore) {
                if (preg_match($ignore, $domain) > 0) {
                    return true;
                }
            }
        }

        return false;
    }
public function isIgnoredDomain($domain)
    {
        if ($ignoreRegexes = $this->config()->get('ignore_domain_regexes')) {
            foreach ($ignoreRegexes as $ignore) {
                if (preg_match($ignore, $domain) > 0) {
                    return true;
                }
            }
        }

        return false;
    }
public function isIgnoredDomain ( $ domain ) { if ( $ ignoreRegexes = $ this -> config ( ) -> get ( 'ignore_domain_regexes' ) ) { foreach ( $ ignoreRegexes as $ ignore ) { if ( preg_match ( $ ignore , $ domain ) > 0 ) { return true ; } } } return false ; }
Check if the given domain is on the list of ignored domains.

@param string $domain
@return boolean
Check if the given domain is on the list of ignored domains .