On this page
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(): arrayCake\Error\Debug\NodeInterface>
Get the child nodes of this node.
Returns
arrayCake\Error\Debug\NodeInterface>
getType() public
getType(): string
Get the type of value
Returns
string
getValue() public
getValue(): string|float|int|bool|null
Get the value
Returns
string|float|int|bool|null
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/class-Cake.Error.Debug.ScalarNode.html