/** * Transform class/interface name to FQN format * @todo WHY WHY :'( * * @param string $className * @return string */ public function getFullName($className) { $namespace = isset($this->currentMethod) && $this->currentMethod instanceof FunctionDefinition ? $this->currentMethod->getNamespace() : $this->classDefinition->getNamespace(); return Utils::getFullName($className, $namespace, $this->aliasManager); }