PHP 클래스 ApiGen\Parser\Elements\ElementSorter

상속: implements ApiGen\Contracts\Parser\Elements\ElementSorterInterface
파일 보기 프로젝트 열기: apigen/apigen 1 사용 예제들

공개 메소드들

메소드 설명
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