Mercurial > hg > isophonics-drupal-site
view vendor/symfony/var-dumper/Tests/Fixtures/Twig.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php /* foo.twig */ class __TwigTemplate_VarDumperFixture_u75a09 extends Twig\Template { 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 [20 => 1, 21 => 2]; } public function getSourceContext() { return new Twig\Source(" foo bar\n twig source\n\n", 'foo.twig', $this->path ?: __FILE__); } }