ObjectFilter/ObjectFilter.php
protected function isExcludedClass($object)
    {
        foreach ($this->excludedClasses as $excludedClass) {
            if ($object instanceof $excludedClass) {
                return true;
            }
        }

        return false;
    }
protected function isExcludedClass($object)
    {
        foreach ($this->excludedClasses as $excludedClass) {
            if ($object instanceof $excludedClass) {
                return true;
            }
        }

        return false;
    }
protected function isExcludedClass ( $ object ) { foreach ( $ this -> excludedClasses as $ excludedClass ) { if ( $ object instanceof $ excludedClass ) { return true ; } } return false ; }
Check if the object is an excluded class.

@param object $object The object

@return bool
Check if the object is an excluded class .