Documentation

Twig_Tests_ParserTest extends TestCase
in package

Table of Contents

getFilterBodyNodesData()  : mixed
getFilterBodyNodesDataThrowsException()  : mixed
getFilterBodyNodesWithBOMData()  : mixed
testFilterBodyNodes()  : mixed
testFilterBodyNodesThrowsException()  : mixed
testFilterBodyNodesWithBOM()  : mixed
testGetVarName()  : mixed
testParseIsReentrant()  : mixed
testUnknownTag()  : mixed
testUnknownTagWithoutSuggestions()  : mixed
getParser()  : mixed

Methods

getFilterBodyNodesData()

public getFilterBodyNodesData() : mixed
Return values
mixed

getFilterBodyNodesDataThrowsException()

public getFilterBodyNodesDataThrowsException() : mixed
Return values
mixed

getFilterBodyNodesWithBOMData()

public getFilterBodyNodesWithBOMData() : mixed
Return values
mixed

testFilterBodyNodes()

public testFilterBodyNodes(mixed $input, mixed $expected) : mixed
Parameters
$input : mixed
$expected : mixed
Tags
dataProvider

getFilterBodyNodesData

Return values
mixed

testFilterBodyNodesThrowsException()

public testFilterBodyNodesThrowsException(mixed $input) : mixed
Parameters
$input : mixed
Tags
dataProvider

getFilterBodyNodesDataThrowsException

expectedException

\Twig\Error\SyntaxError

Return values
mixed

testFilterBodyNodesWithBOM()

public testFilterBodyNodesWithBOM(mixed $emptyNode) : mixed
Parameters
$emptyNode : mixed
Tags
dataProvider

getFilterBodyNodesWithBOMData

Return values
mixed

testGetVarName()

public testGetVarName() : mixed
Return values
mixed

testParseIsReentrant()

public testParseIsReentrant() : mixed
Return values
mixed

testUnknownTag()

public testUnknownTag() : mixed
Tags
expectedException

\Twig\Error\SyntaxError

expectedExceptionMessage

Unknown "foo" tag. Did you mean "for" at line 1?

Return values
mixed

testUnknownTagWithoutSuggestions()

public testUnknownTagWithoutSuggestions() : mixed
Tags
expectedException

\Twig\Error\SyntaxError

expectedExceptionMessage

Unknown "foobar" tag at line 1.

Return values
mixed

getParser()

protected getParser() : mixed
Return values
mixed

Search results