phpDocumentor

DocumentationSetInterface extends Descriptor

Base class for descriptors containing the most used options.

Table of Contents

Methods

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.
getOutputLocation()  : string
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

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