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

compareConstantsByFqn() private method

private compareConstantsByFqn ( ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface $reflection1, ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface $reflection2 ) : integer
$reflection1 ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface
$reflection2 ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface
return integer
    private function compareConstantsByFqn(ConstantReflectionInterface $reflection1, ConstantReflectionInterface $reflection2)
    {
        return strcasecmp($this->getConstantFqnName($reflection1), $this->getConstantFqnName($reflection2));
    }