class includejs extends AbstractTokenParser

Methods

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 25
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 40
string getTag()

Gets the tag name associated with this token parser.

Return Value

string

The tag name