class includephp extends AbstractTokenParser

Properties

protected environment $environment

Methods

__construct(environment $environment)

Constructor

Node
parse(Token $token)

Parses a token and returns a node.

string
getTag()

Gets the tag name associated with this token parser.

Details

at line 27
__construct(environment $environment)

Constructor

Parameters

environment $environment

at line 39
Node parse(Token $token)

Parses a token and returns a node.

Parameters

Token $token

A Twig\Token instance

Return Value

Node

A Twig\Node instance

at line 64
string getTag()

Gets the tag name associated with this token parser.

Return Value

string

The tag name