class Neon

Simple parser & generator for Nette Object Notation.

Constants

BLOCK

CHAIN

Methods

static string
encode(mixed $var, int $options = null)

Returns the NEON representation of a value.

static mixed
decode(string $input)

Decodes a NEON string.

Details

at line 27
static string encode(mixed $var, int $options = null)

Returns the NEON representation of a value.

Parameters

mixed $var
int $options

Return Value

string

at line 39
static mixed decode(string $input)

Decodes a NEON string.

Parameters

string $input

Return Value

mixed