ApiSetDescriptor
extends DocumentationSetDescriptor
in package
Table of Contents
- $name : string
- $output : string
- $source : Source
- $apiSpecification : ApiSpecification
- $tocs : Collection<string|int, TocDescriptor>
- __construct() : mixed
- addTableOfContents() : void
- getName() : string
- getOutput() : string
- getSettings() : ApiSpecification
- getSource() : Source
- Returns the source location for this set of documentation.
- getTableOfContents() : Collection<string|int, TocDescriptor>
Properties
$name
protected
string
$name
= ''
$output
protected
string
$output
= '.'
$source
protected
Source
$source
$apiSpecification
private
ApiSpecification
$apiSpecification
$tocs
private
Collection<string|int, TocDescriptor>
$tocs
Methods
__construct()
public
__construct(string $name, Source $source, string $output, ApiSpecification $apiSpecification) : mixed
Parameters
- $name : string
- $source : Source
- $output : string
- $apiSpecification : ApiSpecification
Return values
mixed —addTableOfContents()
public
addTableOfContents(TocDescriptor $descriptor) : void
Parameters
- $descriptor : TocDescriptor
Return values
void —getName()
public
getName() : string
Return values
string —getOutput()
public
getOutput() : string
Return values
string —getSettings()
public
getSettings() : ApiSpecification
Return values
ApiSpecification —getSource()
Returns the source location for this set of documentation.
public
getSource() : Source
Tags
Return values
Source —getTableOfContents()
public
getTableOfContents() : Collection<string|int, TocDescriptor>