Method |
Description |
|
compile ( array\arraystring | integer> &$context, string $template ) : string |
compile a template into a closure function |
|
compileDynamic ( array\arraystring | integer> &$context, string $name ) : string | null |
compile partial as closure, stored in context |
|
compileStatic ( array\arraystring | integer> &$context, string $name ) : string | null |
compile a partial to static embed PHP code |
|
handleDynamic ( &$context ) |
Include all partials when using dynamic partials |
|
read ( array\arraystring | integer> &$context, string $name ) : string | null |
Read partial file content as string and store in context |
|
resolve ( array\arraystring | integer> &$context, string &$name ) : string | null |
resolve partial, return the partial content |
|
resolver ( array\arraystring | integer> &$context, string &$name ) : string | null |
use partialresolver to resolve partial, return the partial content |
|