src/BlacklistedClassNameCollection.php
private function filter(string $class): bool
    {
        foreach ($this->patterns as $pattern) {
            if (preg_match($pattern, $class) === 1) {
                return false;
            }
        }

        return true;
    }
private function filter(string $class): bool
    {
        foreach ($this->patterns as $pattern) {
            if (preg_match($pattern, $class) === 1) {
                return false;
            }
        }

        return true;
    }
private function filter ( string $ class ) : bool { foreach ( $ this -> patterns as $ pattern ) { if ( preg_match ( $ pattern , $ class ) === 1 ) { return false ; } } return true ; }
Return whether the given class name is not matching any pattern.

@param string $class
@return bool
Return whether the given class name is not matching any pattern .