Class ScalarNode

Dump node for scalar values.

Namespace: Cake\Error\Debug

Method Summary

Method Detail

__construct() public

__construct(string $type, mixed $value)

Constructor

Parameters

string $type

The type of scalar value.

string|int|float|bool|null $value

The wrapped value.

getChildren() public

getChildren()

Get the child nodes of this node.

Returns

\Cake\Error\Debug\NodeInterface[]

getType() public

getType()

Get the type of value

Returns

string

getValue() public

getValue()

Get the value

Returns

string|int|float|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.1/class-Cake.Error.Debug.ScalarNode.html