PHP Class ApiGen\Parser\Elements\GroupSorter

Inheritance: implements ApiGen\Contracts\Parser\Elements\GroupSorterInterface
Datei anzeigen Open project: apigen/apigen Class Usage Examples

Public Methods

Method Description
__construct ( ApiGen\Contracts\Parser\Elements\ElementsInterface $elements, ApiGen\Contracts\Configuration\ConfigurationInterface $configuration )
sort ( array $groups )

Private Methods

Method Description
addMissingElementTypes ( string $groupName )
addMissingParentGroups ( string $groupName )
compareGroups ( string $one, string $two, string $main ) : integer
convertGroupNamesToLower ( array $groupNames ) : array
isNoneGroupOnly ( array $groups ) : boolean

Method Details

__construct() public method

public __construct ( ApiGen\Contracts\Parser\Elements\ElementsInterface $elements, ApiGen\Contracts\Configuration\ConfigurationInterface $configuration )
$elements ApiGen\Contracts\Parser\Elements\ElementsInterface
$configuration ApiGen\Contracts\Configuration\ConfigurationInterface

sort() public method

public sort ( array $groups )
$groups array