Documentation

TokenParserInterface

Interface implemented by token parsers.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

getTag()  : string
Gets the tag name associated with this token parser.
parse()  : Node
Parses a token and returns a node.
setParser()  : mixed
Sets the parser associated with this token parser.

Methods

getTag()

Gets the tag name associated with this token parser.

public getTag() : string
Return values
string

The tag name

setParser()

Sets the parser associated with this token parser.

public setParser(Parser $parser) : mixed
Parameters
$parser : Parser
Return values
mixed

Search results