Fr3nch13/CakePHP Utilities

ScalarNode
in package
implements NodeInterface

Dump node for scalar values.

Table of Contents

Interfaces

NodeInterface
Interface for Debugs

Properties

$type  : string
$value  : string|float|int|bool|null

Methods

__construct()  : mixed
Constructor
getChildren()  : array<string|int, NodeInterface>
Get the child nodes of this node.
getType()  : string
Get the type of value
getValue()  : string|float|int|bool|null
Get the value

Properties

$value

private string|float|int|bool|null $value

Methods

__construct()

Constructor

public __construct(string $type, string|float|int|bool|null $value) : mixed
Parameters
$type : string

The type of scalar value.

$value : string|float|int|bool|null

The wrapped value.

getType()

Get the type of value

public getType() : string
Return values
string

getValue()

Get the value

public getValue() : string|float|int|bool|null
Return values
string|float|int|bool|null

        
On this page

Search results