phpDocumentor

FilterEmptyNamespaces extends ApiDocumentationPass

FinalYes
Attributes
#[Stage]
'phpdoc.pipeline.api_documentation.compile'
2000
'Filter empty namespaces'

Table of Contents

Methods

__invoke()  : CompilableSubject
Executes a compiler pass.
getDescription()  : string
Returns a textual description of what this pass does for output purposes.
process()  : ApiSetDescriptor
Actual method executed by the compiler.
checkForEmptyChildren()  : void

Methods

getDescription()

Returns a textual description of what this pass does for output purposes.

public getDescription() : string

Please note that the command line will be truncated to 68 characters ( .. 000.000s) so longer descriptions won't have much use.

Return values
string

checkForEmptyChildren()

private checkForEmptyChildren(NamespaceInterface $namespace, Collection<string|int, NamespaceInterface$namespaces, Collection<string|int, NamespaceInterface$index, Collection<string|int, ElementInterface$elementsIndex) : void
Parameters
$namespace : NamespaceInterface
$namespaces : Collection<string|int, NamespaceInterface>
$index : Collection<string|int, NamespaceInterface>
$elementsIndex : Collection<string|int, ElementInterface>

        
On this page

Search results