\phpDocumentor\Descriptor\TableOfContentsEntry

Summary

Methods
Properties
Constants
__construct()
getUrl()
getTitle()
getParent()
addChild()
getChildren()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$url
$title
$parent
$children
N/A

Properties

$url

$url : string

Type

string

$title

$title : string

Type

string

$children

$children : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TableOfContents\Entry>

Type

Entry>

Methods

__construct()

__construct(string  $url, string  $title, ?string  $parent = null) : mixed

Parameters

string $url
string $title
?string $parent

Returns

mixed —

getUrl()

getUrl() : string

Returns

string —

getTitle()

getTitle() : string

Returns

string —

getParent()

getParent() : ?string

Returns

?string —

addChild()

addChild(\phpDocumentor\Descriptor\TableOfContents\Entry  $child) : void

Parameters

\phpDocumentor\Descriptor\TableOfContents\Entry $child

getChildren()

getChildren() : \phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TableOfContents\Entry>

Returns

\phpDocumentor\Descriptor\Collection<\phpDocumentor\Descriptor\TableOfContents\Entry> —