private getClassImports ( ReflectionClass $class ) : array | ||
$class | ReflectionClass | |
return | array |
private function getClassImports(ReflectionClass $class)
{
if (isset($this->imports[$name = $class->getName()])) {
return $this->imports[$name];
}
$this->collectParsingMetadata($class);
return $this->imports[$name];
}