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

Methods

public decideBlockEnd (Twig\Token $token)

Parameters
Property Description
$token
Twig\Token
Returns
mixed

public getTag ()

Returns
mixed

public parse (Twig\Token $token)

Parameters
Property Description
$token
Twig\Token
Returns
mixed
Copyright © 2024 Winter CMS