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|int|float|bool|null $value)
Constructor
Parameters
-
string
$type The type of scalar value.
-
string|int|float|bool|null
$value The wrapped value.
getChildren() ¶ public
getChildren(): Cake\Error\Debug\NodeInterface[]
Get the child nodes of this node.
Returns
Cake\Error\Debug\NodeInterface[]
getValue() ¶ public
getValue(): string|int|float|bool|null
Get the value
Returns
string|int|float|bool|null