FilterTokenParser
Filters a section of a template by applying filters.
final class System\Twig\FilterTokenParser
extends Twig\TokenParser\AbstractTokenParser
{% filter upper %} This text becomes uppercase {% endfilter %}
Extends
Class | Description |
---|---|
Twig\TokenParser\AbstractTokenParser
|
Methods
public decideBlockEnd (Twig\Token $token)
Parameters
Property | Type | Description |
---|---|---|
$token | Twig\Token |
Twig\Token
|
Returns
mixed
public getTag ()
Returns
mixed
public parse (Twig\Token $token)
Parameters
Property | Type | Description |
---|---|---|
$token | Twig\Token |
Twig\Token
|
Returns
mixed
Copyright © 2024 Winter CMS