Arikaim CMS

ComponentTagParser extends AbstractTokenParser
in package

Component tag parser

Table of Contents

Properties

$twigExtensionClass  : string|null
Twig extension class

Methods

__construct()  : mixed
Constructor
decideTagEnd()  : bool
Return true when the expected end tag is reached.
getTag()  : string
Tag name
parse()  : ComponentNode
Parse tag 'component'

Properties

$twigExtensionClass

Twig extension class

protected string|null $twigExtensionClass

Methods

__construct()

Constructor

public __construct(string $twigExtensionClass) : mixed
Parameters
$twigExtensionClass : string

decideTagEnd()

Return true when the expected end tag is reached.

public decideTagEnd(Token $token) : bool
Parameters
$token : Token
Return values
bool

        
On this page

Search results