Entry
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- addChild() : void
- getChildren() : Collection<string|int, Entry>
- getParent() : string|null
- getTitle() : string
- getUrl() : string
Properties
$children read-only
private
Collection<string|int, Entry>
$children
$parent read-only
private
string|null
$parent
= null
$title read-only
private
string
$title
$url read-only
private
string
$url
Methods
__construct()
public
__construct(string $url, string $title[, string|null $parent = null ]) : mixed
Parameters
- $url : string
- $title : string
- $parent : string|null = null
addChild()
public
addChild(Entry $child) : void
Parameters
- $child : Entry
getChildren()
public
getChildren() : Collection<string|int, Entry>
Return values
Collection<string|int, Entry>getParent()
public
getParent() : string|null
Return values
string|nullgetTitle()
public
getTitle() : string
Return values
stringgetUrl()
public
getUrl() : string