/** * @return string */ private function getGlobalConstantName(ConstantReflectionInterface $reflectionConstant) { if ($reflectionConstant->inNamespace()) { return $reflectionConstant->getNamespaceName() . '\\' . Html::el('b')->setText($reflectionConstant->getShortName()); } else { return Html::el('b')->setText($reflectionConstant->getName()); } }