ApiGen\Parser\Elements\ElementSorter::getConstantFqnName PHP Method

getConstantFqnName() private method

private getConstantFqnName ( ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface $reflection ) : string
$reflection ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface
return string
    private function getConstantFqnName(ConstantReflectionInterface $reflection)
    {
        $class = $reflection->getDeclaringClassName() ?: $reflection->getNamespaceName();
        return $class . '\\' . $reflection->getName();
    }