\phpDocumentor\Guides\RestructuredText\SpanSpanToken

Summary

Methods
Properties
Constants
__construct()
getType()
getId()
get()
getTokenData()
No public properties found
TYPE_LITERAL
TYPE_REFERENCE
TYPE_LINK
No protected methods found
No protected properties found
N/A
No private methods found
$type
$id
$token
N/A

Constants

TYPE_LITERAL

TYPE_LITERAL = 'literal'

TYPE_REFERENCE

TYPE_REFERENCE = 'reference'

Properties

$type

$type : string

Type

string

$id

$id : string

Type

string

$token

$token : string[]

Type

string[]

Methods

__construct()

__construct(string  $type, string  $id, string[]  $token) : mixed

Parameters

string $type
string $id
string[] $token

Returns

mixed —

getType()

getType() : string

Returns

string —

getId()

getId() : string

Returns

string —

get()

get(string  $key) : string

Parameters

string $key

Returns

string —

getTokenData()

getTokenData() : string[]

Returns

string[] —