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

sortFunctionsByFqn() private method

private sortFunctionsByFqn ( ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface[] $functionReflections ) : ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface[]
$functionReflections ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface[]
return ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface[]
    private function sortFunctionsByFqn($functionReflections)
    {
        usort($functionReflections, function ($a, $b) {
            return $this->compareFunctionsByFqn($a, $b);
        });
        return $functionReflections;
    }