PHP Класс ApiGen\Parser\Elements\ElementSorter

Наследование: implements ApiGen\Contracts\Parser\Elements\ElementSorterInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
sortElementsByFqn ( array $elements )

Приватные методы

Метод Описание
compareConstantsByFqn ( ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface $reflection1, ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface $reflection2 ) : integer
compareFunctionsByFqn ( ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface $reflection1, ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface $reflection2 ) : integer
compareMethodsOrPropertiesByFqn ( ApiGen\Contracts\Parser\Reflection\Behavior\InClassInterface $reflection1, ApiGen\Contracts\Parser\Reflection\Behavior\InClassInterface $reflection2 ) : integer
getConstantFqnName ( ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface $reflection ) : string
getFunctionFqnName ( ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface $reflection ) : string
getPropertyOrMethodFqnName ( ApiGen\Contracts\Parser\Reflection\Behavior\InClassInterface $reflection ) : string
sortConstantsByFqn ( ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface[] $constantReflections ) : ApiGen\Contracts\Parser\Reflection\ConstantReflectionInterface[]
sortFunctionsByFqn ( ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface[] $functionReflections ) : ApiGen\Contracts\Parser\Reflection\FunctionReflectionInterface[]
sortPropertiesOrMethodsByFqn ( ApiGen\Contracts\Parser\Reflection\Behavior\InClassInterface[] $elementReflections ) : ApiGen\Contracts\Parser\Reflection\MethodReflectionInterface[]

Описание методов

sortElementsByFqn() публичный Метод

public sortElementsByFqn ( array $elements )
$elements array