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