$name
$name : string
Represents the entire project with its files, namespaces and indexes.
$namespace : \phpDocumentor\Descriptor\NamespaceDescriptor
$files : \phpDocumentor\Descriptor\Collection
$indexes : \phpDocumentor\Descriptor\Collection
$settings : \phpDocumentor\Descriptor\ProjectDescriptor\Settings
$partials : \phpDocumentor\Descriptor\Collection
setFiles(\phpDocumentor\Descriptor\Collection $files) : void
Sets all files on this project.
\phpDocumentor\Descriptor\Collection | $files |
getFiles() : \phpDocumentor\Descriptor\Collection|array<mixed,\phpDocumentor\Descriptor\FileDescriptor>
Returns all files with their sub-elements.
setIndexes(\phpDocumentor\Descriptor\Collection $indexes) : void
Sets all indexes for this project.
An index is a compilation of references to elements, usually constructed in a compiler step, that aids template generation by providing a conveniently assembled list. An example of such an index is the 'marker' index where a list of TODOs and FIXMEs are located in a central location for reporting.
\phpDocumentor\Descriptor\Collection | $indexes |
getIndexes() : \phpDocumentor\Descriptor\Collection
Returns all indexes in this project.
setNamespace(\phpDocumentor\Descriptor\NamespaceDescriptor $namespace) : void
Sets the root namespace for this project together with all sub-namespaces.
\phpDocumentor\Descriptor\NamespaceDescriptor | $namespace |
getNamespace() : \phpDocumentor\Descriptor\NamespaceDescriptor
Returns the root (global) namespace.
setSettings(\phpDocumentor\Descriptor\ProjectDescriptor\Settings $settings) : void
Sets the settings used to build the documentation for this project.
\phpDocumentor\Descriptor\ProjectDescriptor\Settings | $settings |
getSettings() : \phpDocumentor\Descriptor\ProjectDescriptor\Settings
Returns the settings used to build the documentation for this project.
setPartials(\phpDocumentor\Descriptor\Collection $partials) : void
Sets all partials that can be used in a template.
Partials are blocks of text that can be inserted anywhere in a template using a special indicator. An example is the introduction partial that can add a custom piece of text to the homepage.
\phpDocumentor\Descriptor\Collection | $partials |
getPartials() : \phpDocumentor\Descriptor\Collection
Returns a list of all partials.