Documentation

PhpDocTextNode
in package
implements PhpDocChildNode Uses NodeAttributes

Table of Contents

Interfaces

PhpDocChildNode

Properties

$text  : string
$attributes  : array<string, mixed>

Methods

__construct()  : mixed
__toString()  : string
getAttribute()  : mixed
hasAttribute()  : bool
setAttribute()  : void

Properties

Methods

__construct()

public __construct(string $text) : mixed
Parameters
$text : string

getAttribute()

public getAttribute(string $key) : mixed
Parameters
$key : string

hasAttribute()

public hasAttribute(string $key) : bool
Parameters
$key : string
Return values
bool

setAttribute()

public setAttribute(string $key, mixed $value) : void
Parameters
$key : string
$value : mixed

        
On this page

Search results