Class ScalarNode
Dump node for scalar values.
Namespace: Cake\Error\Debug
Method Summary
-
__construct() public
Constructor
-
getChildren() public
Get the child nodes of this node.
-
getType() public
Get the type of value
-
getValue() public
Get the value
Method Detail
__construct() ¶ public
__construct(string $type, string|float|int|bool|null $value)
Constructor
Parameters
-
string
$type The type of scalar value.
-
string|float|int|bool|null
$value The wrapped value.
getChildren() ¶ public
getChildren(): array<Cake\Error\Debug\NodeInterface>
Get the child nodes of this node.
Returns
array<Cake\Error\Debug\NodeInterface>
getValue() ¶ public
getValue(): string|float|int|bool|null
Get the value
Returns
string|float|int|bool|null