ApiGen\Parser\Elements\ElementSorter::getConstantFqnName PHP Méthode

getConstantFqnName() private méthode

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