Table of Contents
-
$classes
: array<string|int, string>
-
$id
: string
-
$level
: int
-
$target
: string
-
$token
: string
-
$value
: SpanNode
-
$options
: array<string|int, mixed>
-
__construct()
: mixed
-
getClasses()
: array<string|int, string>
-
getClassesString()
: string
-
getId()
: string
-
getLevel()
: int
-
getOption()
: mixed|null
-
getOptions()
: array<string, mixed>
-
getTarget()
: string
-
getValue()
: Node|callable|string|null
-
getValueString()
: string
-
setClasses()
: void
-
setTarget()
: void
-
setValue()
: void
-
withOptions()
: self
-
normalizeLines()
: string
$classes
protected
array<string|int, string>
$classes
= []
$id
protected
string
$id
$level
protected
int
$level
$target
protected
string
$target
= ''
$token
protected
string
$token
$value
protected
SpanNode
$value
$options
private
array<string|int, mixed>
$options
__construct()
public
__construct(Node $value, int $level) : mixed
Parameters
-
$value
: Node
-
-
$level
: int
-
Return values
mixed
—
getClasses()
public
getClasses() : array<string|int, string>
Return values
array<string|int, string>
—
getClassesString()
public
getClassesString() : string
Return values
string
—
getId()
public
getId() : string
Return values
string
—
getLevel()
public
getLevel() : int
Return values
int
—
getOption()
public
getOption(string $name[, mixed|null $default = null ]) : mixed|null
Parameters
-
$name
: string
-
-
$default
: mixed|null
= null
-
Return values
mixed|null
—
getOptions()
public
getOptions() : array<string, mixed>
Return values
array<string, mixed>
—
getTarget()
public
getTarget() : string
Return values
string
—
getValue()
public
getValue() : Node|callable|string|null
Return values
Node|callable|string|null
—
getValueString()
public
getValueString() : string
Return values
string
—
setClasses()
public
setClasses(array<string|int, string> $classes) : void
Parameters
-
$classes
: array<string|int, string>
-
Return values
void
—
setTarget()
public
setTarget(string $target) : void
Parameters
-
$target
: string
-
Return values
void
—
setValue()
public
setValue(Node|callable|string|null $value) : void
Parameters
-
$value
: Node|callable|string|null
-
Return values
void
—
withOptions()
public
withOptions(array<string, mixed> $options) : self
Parameters
-
$options
: array<string, mixed>
-
Return values
self
—
normalizeLines()
protected
normalizeLines(array<string|int, string> $lines) : string
Parameters
-
$lines
: array<string|int, string>
-
Return values
string
—