A helper class for TemplateHandler that encapsulates template-like syntax with the appropriate meta tags, adding argument info data.
More...
|
| $token |
|
| $variableName |
|
| $parserFunctionName |
|
| $resolvedTemplateTarget |
|
A helper class for TemplateHandler that encapsulates template-like syntax with the appropriate meta tags, adding argument info data.
◆ __construct()
Wikimedia\Parsoid\Wt2Html\TT\TemplateEncapsulator::__construct |
( |
Env | $env, |
|
|
Frame | $frame, |
|
|
Token | $token, |
|
|
string | $wrapperType ) |
- Parameters
-
Env | $env | |
Frame | $frame | |
Token | $token | |
string | $wrapperType | |
◆ encapTokens()
Wikimedia\Parsoid\Wt2Html\TT\TemplateEncapsulator::encapTokens |
( |
array | $tokens | ) |
|
Main entry point.
Encapsulate the template element, including the arguments.
- Parameters
-
- Returns
- array
The documentation for this class was generated from the following file:
- src/Wt2Html/TT/TemplateEncapsulator.php