final class Neon

Simple parser & generator for Nette Object Notation.

Constants

BLOCK

CHAIN

Methods

static string
encode($var, int $flags = 0)

Returns the NEON representation of a value.

static mixed
decode(string $input)

Decodes a NEON string.

Details

at line 26
static string encode($var, int $flags = 0)

Returns the NEON representation of a value.

Parameters

$var
int $flags

Return Value

string

at line 37
static mixed decode(string $input)

Decodes a NEON string.

Parameters

string $input

Return Value

mixed