public function getName() { if (!$this->inNamespace()) { return $this->getShortName(); } return $this->getNamespaceName() . '\\' . $this->getShortName(); }