PHP Class ApiGen\Parser\Elements\ElementStorage

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

Public Methods

Method Description
__construct ( ApiGen\Contracts\Parser\ParserStorageInterface $parserResult, ApiGen\Contracts\Configuration\ConfigurationInterface $configuration, ApiGen\Contracts\Parser\Elements\GroupSorterInterface $groupSorter, ApiGen\Contracts\Generator\Resolvers\ElementResolverInterface $elementResolver )
getClassElements ( )
getClasses ( )
getConstants ( )
getElements ( )
getExceptions ( )
getFunctions ( )
getInterfaces ( )
getNamespaces ( )
getPackages ( )
getTraits ( )

Private Methods

Method Description
addUsedByAnnotation ( )
categorizeElementToNamespaceAndPackage ( string $elementName, string $elementType, ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $element )
categorizeParsedElements ( )
ensureCategorization ( )
getNamespaceCount ( ) : integer
getPackageCount ( ) : integer
getSubElements ( ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $parentElement ) : array
loadUsesToReferencedElementUsedby ( ApiGen\Contracts\Parser\Reflection\ElementReflectionInterface $element )
sortNamespacesAndPackages ( )

Method Details

__construct() public method

public __construct ( ApiGen\Contracts\Parser\ParserStorageInterface $parserResult, ApiGen\Contracts\Configuration\ConfigurationInterface $configuration, ApiGen\Contracts\Parser\Elements\GroupSorterInterface $groupSorter, ApiGen\Contracts\Generator\Resolvers\ElementResolverInterface $elementResolver )
$parserResult ApiGen\Contracts\Parser\ParserStorageInterface
$configuration ApiGen\Contracts\Configuration\ConfigurationInterface
$groupSorter ApiGen\Contracts\Parser\Elements\GroupSorterInterface
$elementResolver ApiGen\Contracts\Generator\Resolvers\ElementResolverInterface

getClassElements() public method

public getClassElements ( )

getClasses() public method

public getClasses ( )

getConstants() public method

public getConstants ( )

getElements() public method

public getElements ( )

getExceptions() public method

public getExceptions ( )

getFunctions() public method

public getFunctions ( )

getInterfaces() public method

public getInterfaces ( )

getNamespaces() public method

public getNamespaces ( )

getPackages() public method

public getPackages ( )

getTraits() public method

public getTraits ( )