phpDocumentor

ApiDocumentationSet extends DocumentationSetInterface, CompilableSubject

Base class for descriptors containing the most used options.

Table of Contents

Methods

findElement()  : ElementInterface|null
Finds a structural element with the given FQSEN in this Documentation Set, or returns null when it could not be found.
getDescription()  : DescriptionDescriptor
Returns the description for this element.
getFiles()  : Collection<string|int, FileInterface>
Returns the list of files that is in this documentation set.
getIndex()  : Collection<string|int, ElementInterface>
Returns an index with the given name.
getIndexes()  : Collection<string|int, Collection<string|int, ElementInterface>>
Returns all indexes in this documentation set.
getName()  : string
Returns the name for this element.
getNamespace()  : NamespaceInterface|string
Returns the namespace for this element (defaults to global "\")
getOutputLocation()  : string
getPackage()  : PackageInterface|null
getSettings()  : ApiSpecification
getSource()  : Source
Returns the source location for this set of documentation.
getTableOfContents()  : Collection<string|int, TocDescriptor>
setDescription()  : void
Sets a longer description for this element.
setName()  : void
Sets the local name for this element.

Methods

findElement()

Finds a structural element with the given FQSEN in this Documentation Set, or returns null when it could not be found.

public findElement(Fqsen $fqsen) : ElementInterface|null
Parameters
$fqsen : Fqsen
Return values
ElementInterface|null

getSource()

Returns the source location for this set of documentation.

public getSource() : Source
Tags
todo:

should the source location be included in a Descriptor? This couples it to the file system upon which it was ran and makes it uncacheable. But should this be cached? In any case, I need it for the RenderGuide writer at the moment; so refactor this once that becomes clearer.

Return values
Source

setName()

Sets the local name for this element.

public setName(string $name) : void
Parameters
$name : string
On this page

Search results