private function hasInternalAncestors(ReflectionClass $reflectionClass) : bool
    {
        do {
            if ($reflectionClass->isInternal()) {
                return true;
            }

            $reflectionClass = $reflectionClass->getParentClass();
        } while ($reflectionClass);

        return false;
    }
private function hasInternalAncestors(ReflectionClass $reflectionClass) : bool
    {
        do {
            if ($reflectionClass->isInternal()) {
                return true;
            }

            $reflectionClass = $reflectionClass->getParentClass();
        } while ($reflectionClass);

        return false;
    }
private function hasInternalAncestors ( ReflectionClass $ reflectionClass ) : bool { do { if ( $ reflectionClass -> isInternal ( ) ) { return true ; } $ reflectionClass = $ reflectionClass -> getParentClass ( ) ; } while ( $ reflectionClass ) ; return false ; }
Verifies whether the given class is to be considered internal
Verifies whether the given class is to be considered internal