DirectiveOption
in package
FinalYes
Table of Contents
Properties
- $name : string
- $node : InlineCompoundNode|null
- $value : string|int|float|bool|null
Methods
- __construct() : mixed
- appendValue() : void
- getName() : string
- getNode() : InlineCompoundNode|null
- getValue() : string|int|float|bool|null
- setNode() : void
- toBool() : bool
- toString() : string
Properties
$name read-only
private
string
$name
$node
private
InlineCompoundNode|null
$node
= null
$value
private
string|int|float|bool|null
$value
= null
Methods
__construct()
public
__construct(string $name[, string|int|float|bool|null $value = null ]) : mixed
Parameters
- $name : string
- $value : string|int|float|bool|null = null
appendValue()
public
appendValue(string $append) : void
Parameters
- $append : string
getName()
public
getName() : string
Return values
stringgetNode()
public
getNode() : InlineCompoundNode|null
Return values
InlineCompoundNode|nullgetValue()
public
getValue() : string|int|float|bool|null
Return values
string|int|float|bool|nullsetNode()
public
setNode(InlineCompoundNode $node) : void
Parameters
- $node : InlineCompoundNode
toBool()
public
toBool() : bool
Return values
booltoString()
public
toString() : string