private function AnnotationReader::getClassImports in Plug 7
Retrieves imports.
Parameters
\ReflectionClass $class:
Return value
array
3 calls to AnnotationReader::getClassImports()
- AnnotationReader::getClassAnnotations in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets the annotations applied to a class.
- AnnotationReader::getMethodImports in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Retrieves imports for methods.
- AnnotationReader::getPropertyImports in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Retrieves imports for properties.
File
- lib/
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];
}