MacroSet
class MacroSet implements IMacro
Base IMacro implementation. Allows add multiple macros.
Methods
addMacro($name, $begin, $end = null, $attr = null, $flags = null)
No description
void
initialize()
Initializes before template parsing.
array|null
finalize()
Finishes template parsing.
bool|null
void
getCompiler()
No description
Details
at line 29
__construct(Compiler $compiler)
No description
at line 35
addMacro($name, $begin, $end = null, $attr = null, $flags = null)
No description
at line 56
void
initialize()
Initializes before template parsing.
at line 65
array|null
finalize()
Finishes template parsing.
at line 74
bool|null
nodeOpened(MacroNode $node)
New node is found.
at line 126
void
nodeClosed(MacroNode $node)
Node is closed.
at line 154
Compiler
getCompiler()
No description
at line 161
protected
checkExtraArgs(MacroNode $node)
internal |
No description
Traits
Better OOP experience.