protected resolveClassName ( |
||
$name |
protected function resolveClassName(Name $name) { if (!$name instanceof FullyQualified) { $name->setAttribute('resolvedFqcn', parent::resolveClassName($name)); } return $name; }
protected function resolveClassName(PhpParser\Node\Name $name) { if ($name->isFullyQualified()) { return $name; } $old = $name->toString(); $resolved = parent::resolveClassName($name); $this->resolvedClasses[$old] = $resolved->toString(); return $resolved; }