public function getNamespaceName() { if (!$this->inNamespace()) { return ''; } return implode('\\', $this->declaringNamespace->name->parts); }
/** * {@inheritDoc} */ public function getNamespaceName() { return $this->betterReflectionClass->getNamespaceName(); }