Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / var-dumper / Tests / Fixtures / Twig.php
index 6abc58155513f081d381e3c1e7887e5c11dcee61..fe2542929b10057b120e765c9275f2806aa213e7 100644 (file)
@@ -3,16 +3,16 @@
 /* foo.twig */
 class __TwigTemplate_VarDumperFixture_u75a09 extends Twig\Template
 {
-    private $filename;
+    private $path;
 
-    public function __construct(Twig\Environment $env = null, $filename = null)
+    public function __construct(Twig\Environment $env = null, $path = null)
     {
         if (null !== $env) {
             parent::__construct($env);
         }
         $this->parent = false;
         $this->blocks = array();
-        $this->filename = $filename;
+        $this->path = $path;
     }
 
     protected function doDisplay(array $context, array $blocks = array())
@@ -28,11 +28,11 @@ class __TwigTemplate_VarDumperFixture_u75a09 extends Twig\Template
 
     public function getDebugInfo()
     {
-        return array(21 => 2);
+        return array(20 => 1, 21 => 2);
     }
 
     public function getSourceContext()
     {
-        return new Twig\Source("   foo bar\n     twig source\n\n", 'foo.twig', false === $this->filename ? null : ($this->filename ?: 'bar.twig'));
+        return new Twig\Source("   foo bar\n     twig source\n\n", 'foo.twig', $this->path ?: __FILE__);
     }
 }