private function AnnotationReader::getClassImports in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php \Doctrine\Common\Annotations\AnnotationReader::getClassImports()
Retrieves imports.
Parameters
\ReflectionClass $class:
Return value
array
3 calls to AnnotationReader::getClassImports()
- AnnotationReader::getClassAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets the annotations applied to a class.
- AnnotationReader::getMethodImports in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Retrieves imports for methods.
- AnnotationReader::getPropertyImports in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Retrieves imports for properties.
File
- vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php, line 301
Class
- AnnotationReader
- A reader for docblock annotations.
Namespace
Doctrine\Common\AnnotationsCode
private function getClassImports(ReflectionClass $class) {
if (isset($this->imports[$name = $class
->getName()])) {
return $this->imports[$name];
}
$this
->collectParsingMetadata($class);
return $this->imports[$name];
}