phpDocumentor

LinkDescriptor extends TagDescriptor
in package
implements Stringable

Descriptor representing the link tag with a descriptor.

Table of Contents

Interfaces

Stringable

Properties

$description  : DescriptionDescriptor|null
$errors  : Collection<string|int, Error>
$link  : string
$name  : string

Methods

__construct()  : mixed
Initializes the tag by setting the name and errors,
__toString()  : string
getDescription()  : DescriptionDescriptor
Returns the description for this element.
getErrors()  : Collection<string|int, Error>
Returns all errors associated with this tag.
getLink()  : string
Returns the URL where this link points to.
getName()  : string
Returns the name for this element.
setDescription()  : void
Sets a description or none to inherit from a parent.
setLink()  : void
Sets the URL where the link points to.

Properties

protected string $link = ''

the url where the link points to.

Methods

Returns the URL where this link points to.

public getLink() : string
Return values
string

getName()

Returns the name for this element.

public getName() : string
Return values
string

Sets the URL where the link points to.

public setLink(string $link) : void
Parameters
$link : string

        
On this page

Search results