ApiGen\Parser\Elements\ElementSorter::getConstantFqnName PHP 메소드

getConstantFqnName() 개인적인 메소드

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