final class Encoder

internal  
 

Converts value to NEON format.

Constants

deprecated BLOCK

Properties

$blockMode
$indentation

Methods

string
encode(mixed $val)

Returns the NEON representation of a value.

valueToNode(mixed $val, bool $blockMode = false)

No description

Details

at line 29
string encode(mixed $val)

Returns the NEON representation of a value.

Parameters

mixed $val

Return Value

string

at line 36
Node valueToNode(mixed $val, bool $blockMode = false)

No description

Parameters

mixed $val
bool $blockMode

Return Value

Node