|
| __construct (Mustache_Engine $mustache, Mustache_Context $context, $delims=null) |
| Mustache Lambda Helper constructor.
|
|
| __invoke ($string) |
| Render a string as a Mustache template with the current rendering context.
|
|
| render ($string) |
| Render a string as a Mustache template with the current rendering context.
|
|
| withDelimiters ($delims) |
| Get a Lambda Helper with custom delimiters.
|
|
◆ __construct()
Mustache Lambda Helper constructor.
- Parameters
-
Mustache_Engine | $mustache | Mustache engine instance |
Mustache_Context | $context | Rendering context |
string | $delims | Optional custom delimiters, in the format {{= <% %> =}} . (default: null) |
◆ __invoke()
Mustache_LambdaHelper::__invoke |
( |
| $string | ) |
|
Render a string as a Mustache template with the current rendering context.
- Parameters
-
- Return values
-
◆ render()
Mustache_LambdaHelper::render |
( |
| $string | ) |
|
Render a string as a Mustache template with the current rendering context.
- Parameters
-
- Return values
-
◆ withDelimiters()
Mustache_LambdaHelper::withDelimiters |
( |
| $delims | ) |
|
Get a Lambda Helper with custom delimiters.
- Parameters
-
string | $delims | Custom delimiters, in the format {{= <% %> =}} |
- Return values
-
The documentation for this class was generated from the following file:
- lib/mustache/src/Mustache/LambdaHelper.php