final class Decoder

internal  
 

Parser for Nette Object Notation.

Methods

mixed
decode(string $input)

Parses a NEON string and returns the corresponding PHP value.

parseToNode(string $input)

Parses a NEON string and returns the root AST node.

Details

at line 18
mixed decode(string $input)

Parses a NEON string and returns the corresponding PHP value.

Parameters

string $input

Return Value

mixed

at line 26
Node parseToNode(string $input)

Parses a NEON string and returns the root AST node.

Parameters

string $input

Return Value

Node