private function Instantiator::hasInternalAncestors in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/instantiator/src/Doctrine/Instantiator/Instantiator.php \Doctrine\Instantiator\Instantiator::hasInternalAncestors()
Verifies whether the given class is to be considered internal
Parameters
ReflectionClass $reflectionClass:
Return value
bool
1 call to Instantiator::hasInternalAncestors()
- Instantiator::isInstantiableViaReflection in vendor/
doctrine/ instantiator/ src/ Doctrine/ Instantiator/ Instantiator.php
File
- vendor/
doctrine/ instantiator/ src/ Doctrine/ Instantiator/ Instantiator.php, line 213
Class
- Instantiator
- @author Marco Pivetta <ocramius@gmail.com>
Namespace
Doctrine\InstantiatorCode
private function hasInternalAncestors(ReflectionClass $reflectionClass) {
do {
if ($reflectionClass
->isInternal()) {
return true;
}
} while ($reflectionClass = $reflectionClass
->getParentClass());
return false;
}