Moo\Template\Parser\TemplateBlock
Class TemplateBlock.
Synopsis
class TemplateBlock
{
- // members
- protected static array $arguments = ;
- protected static string $contentName = '{{___CONTENT___}}';
Members
protected
-
$arguments
Collection of section arguments. -
$contentName
Unique name for content argument.
Methods
public
- content() — Replaces content tag with placeholder code for rendering the template content.
- set() — Set an argument value for the current template.
- template() — Provide a template tag in template. Its similar implementation to <% include %>.