19 $this->assertFalse($node->hasNode(
'variables'));
20 $this->assertEquals($expr, $node->getNode(
'expr'));
21 $this->assertFalse($node->getAttribute(
'only'));
25 $this->assertEquals($vars, $node->getNode(
'variables'));
26 $this->assertTrue($node->getAttribute(
'only'));
37 \$this->loadTemplate(
"foo.twig", null, 1)->display(\
$context);
50 \$this->loadTemplate(((
true) ? (
"foo") : (
"foo")), null, 1)->display(\
$context);
59 \$this->loadTemplate(
"foo.twig", null, 1)->display(array_merge(\
$context, array(
"foo" =>
true)));
66 \$this->loadTemplate(
"foo.twig", null, 1)->display(array(
"foo" =>
true));
74 \$this->loadTemplate(
"foo.twig", null, 1)->display(array(
"foo" =>
true));
Represents an include node.
Exception thrown when an error occurs during template loading.
const EOF
How fgetc() reports an End Of File.