Neon
final class Neon
Simple parser & generator for Nette Object Notation.
Constants
BLOCK |
|
CHAIN |
|
Methods
static string
encode($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 27
static string
encode($value, bool $blockMode = false, string $indentation = "\t")
Returns value converted to NEON.
at line 40
static mixed
decode(string $input)
Converts given NEON to PHP value.
at line 51
static mixed
decodeFile(string $file)
Converts given NEON file to PHP value.