<?php abstract class AbstractTwigTemplate extends Twig\Template { private function createError() { return new \RuntimeException('Manually triggered error.'); } public function provideError() { return $this->createError(); } } /* foo.twig */ class __TwigTemplate_VarDumperFixture_u75a09 extends AbstractTwigTemplate { private $path; public function __construct(Twig\Environment $env = null, $path = null) { if (null !== $env) { parent::__construct($env); } $this->parent = false; $this->blocks = []; $this->path = $path; } protected function doDisplay(array $context, array $blocks = []) { // line 2 throw new \Exception('Foobar'); } public function getTemplateName() { return 'foo.twig'; } public function getDebugInfo() { return [33 => 1, 34 => 2]; } public function getSourceContext() { return new Twig\Source(" foo bar\n twig source\n\n", 'foo.twig', $this->path ?: __FILE__); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
BackedEnumFixture.php | File | 200 B | 0644 |
|
DateTimeChild.php | File | 157 B | 0644 |
|
ExtendsReflectionTypeFixture.php | File | 369 B | 0644 |
|
FooInterface.php | File | 191 B | 0644 |
|
GeneratorDemo.php | File | 291 B | 0644 |
|
LotsOfAttributes.php | File | 688 B | 0644 |
|
MyAttribute.php | File | 653 B | 0644 |
|
NotLoadableClass.php | File | 121 B | 0644 |
|
Php74.php | File | 284 B | 0644 |
|
Php81Enums.php | File | 305 B | 0644 |
|
ReflectionIntersectionTypeFixture.php | File | 153 B | 0644 |
|
ReflectionNamedTypeFixture.php | File | 126 B | 0644 |
|
ReflectionUnionTypeFixture.php | File | 133 B | 0644 |
|
ReflectionUnionTypeWithIntersectionFixture.php | File | 169 B | 0644 |
|
Twig.php | File | 1.12 KB | 0644 |
|
UnitEnumFixture.php | File | 166 B | 0644 |
|
dumb-var.php | File | 881 B | 0644 |
|
dump_server.php | File | 1.01 KB | 0644 |
|
xml_reader.xml | File | 233 B | 0644 |
|