interface EdgeCompilerInterface (View source)

The CompilerInterface class.

Methods

string
compile(string $value)

compile

directive(string $name, callable $handler)

Register a handler for custom directives.

parser(callable $handler)

parser

Details

at line line 25
string compile(string $value)

compile

Parameters

string $value

Return Value

string

at line line 34
EdgeCompilerInterface directive(string $name, callable $handler)

Register a handler for custom directives.

Parameters

string $name
callable $handler

Return Value

EdgeCompilerInterface

at line line 43
EdgeCompilerInterface parser(callable $handler)

parser

Parameters

callable $handler

Return Value

EdgeCompilerInterface