ElementsIndexBuilder
This class constructs the index 'elements' and populates it with all Structural Elements.
Please note that due to a conflict between namespace FQSEN's and that of classes, interfaces, traits and functions will the namespace FQSEN be prefixed with a tilde (~).
Interfaces, Classes & Used Traits
- CompilerPassInterface
- Represents a single pass / business rule to be executed by the Compiler.
Constants
COMPILER_PRIORITY Line 34
mixed COMPILER_PRIORITY = 15000
Methods
getDescription() Line 36
Returns a textual description of what this pass does for output purposes.
publicgetDescription() : string
Please note that the command line will be truncated to 68 characters (
Returns
string —This method will execute the business logic associated with a given compiler pass and allow it to manipulate or consumer the Object Graph using the ProjectDescriptor object.
getSubElements() Line 82
Returns any sub-elements for the given element.
protectedgetSubElements(DescriptorAbstract $element) : \phpDocumentor\Descriptor\DescriptorAbstract[]
This method checks whether the given element is a class, interface or trait and returns their methods, properties and constants accordingly, or an empty array if no sub-elements are applicable.
addElementsToIndexes() Line 117
Adds a series of descriptors to the given list of collections.
protectedaddElementsToIndexes(DescriptorAbstract|\phpDocumentor\Descriptor\DescriptorAbstract[] $elements, \phpDocumentor\Compiler\Pass\list<\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\DescriptorAbstract>> $indexes) : void
Parameters
getIndexKey() Line 135
Retrieves a key for the index for the provided element.
protectedgetIndexKey(DescriptorAbstract $element) : string