Neon
final class Neon
Simple parser & generator for Nette Object Notation.
Constants
Chain |
|
deprecated CHAIN |
|
deprecated BLOCK |
|
Methods
static string
encode(mixed $value, bool $blockMode = false, string $indentation = "\t")
Returns value converted to NEON.
static mixed
decode(string $input)
Converts given NEON to PHP value.
static mixed
decodeFile(string $file)
Converts given NEON file to PHP value.
Details
at line 31
static string
encode(mixed $value, bool $blockMode = false, string $indentation = "\t")
Returns value converted to NEON.
at line 43
static mixed
decode(string $input)
Converts given NEON to PHP value.
at line 53
static mixed
decodeFile(string $file)
Converts given NEON file to PHP value.