class FunctionExecutor

internal  
 

Functions executor.

Methods

add(string $name, callable $callback)

Registers run-time function.

array
getAll()

Returns all run-time functions.

callable
__get(string $name)

Returns the named function wrapped to accept or skip a Template argument based on its signature.

Details

at line 31
FunctionExecutor add(string $name, callable $callback)

Registers run-time function.

Parameters

string $name
callable $callback

Return Value

FunctionExecutor

at line 43
array getAll()

Returns all run-time functions.

Return Value

array

at line 52
callable __get(string $name)

Returns the named function wrapped to accept or skip a Template argument based on its signature.

Parameters

string $name

Return Value

callable