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

compareMethodsOrPropertiesByFqn() private method

private compareMethodsOrPropertiesByFqn ( ApiGen\Contracts\Parser\Reflection\Behavior\InClassInterface $reflection1, ApiGen\Contracts\Parser\Reflection\Behavior\InClassInterface $reflection2 ) : integer
$reflection1 ApiGen\Contracts\Parser\Reflection\Behavior\InClassInterface
$reflection2 ApiGen\Contracts\Parser\Reflection\Behavior\InClassInterface
return integer
    private function compareMethodsOrPropertiesByFqn(InClassInterface $reflection1, InClassInterface $reflection2)
    {
        return strcasecmp($this->getPropertyOrMethodFqnName($reflection1), $this->getPropertyOrMethodFqnName($reflection2));
    }