Link
in package
FinalYes
Table of Contents
Constants
- TYPE_ANCHOR = 'anchor'
- TYPE_LINK = 'link'
Properties
Methods
- __construct() : mixed
- getName() : string
- getType() : string
- getUrl() : string
Constants
TYPE_ANCHOR
public
mixed
TYPE_ANCHOR
= 'anchor'
TYPE_LINK
public
mixed
TYPE_LINK
= 'link'
Properties
$name read-only
private
string
$name
$type read-only
private
string
$type
$url read-only
private
string
$url
Methods
__construct()
public
__construct(string $name, string $url, string $type) : mixed
Parameters
- $name : string
- $url : string
- $type : string
getName()
public
getName() : string
Return values
stringgetType()
public
getType() : string
Return values
stringgetUrl()
public
getUrl() : string