summaryrefslogtreecommitdiff
path: root/inc/lib/Twig/Source.php
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:22:40 +1000
committerAppleman1234 <applemansigloo@gmail.com>2022-09-25 13:22:40 +1000
commit92561d7f36508b7e0271926e417adf0e2e53916b (patch)
treea8588b4f70af276c5acf58836e33b1f6ff5c61e8 /inc/lib/Twig/Source.php
parent6f1083e4b51fc9c4c594f6c72cf3d84ef4d0298b (diff)
Initial attempt a switch to composer and PHP-8.1 compatibility
Diffstat (limited to 'inc/lib/Twig/Source.php')
-rw-r--r--inc/lib/Twig/Source.php53
1 files changed, 0 insertions, 53 deletions
diff --git a/inc/lib/Twig/Source.php b/inc/lib/Twig/Source.php
deleted file mode 100644
index bd8d869f..00000000
--- a/inc/lib/Twig/Source.php
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-
-/*
- * This file is part of Twig.
- *
- * (c) Fabien Potencier
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-/**
- * Holds information about a non-compiled Twig template.
- *
- * @final
- *
- * @author Fabien Potencier <fabien@symfony.com>
- */
-class Twig_Source
-{
- private $code;
- private $name;
- private $path;
-
- /**
- * @param string $code The template source code
- * @param string $name The template logical name
- * @param string $path The filesystem path of the template if any
- */
- public function __construct($code, $name, $path = '')
- {
- $this->code = $code;
- $this->name = $name;
- $this->path = $path;
- }
-
- public function getCode()
- {
- return $this->code;
- }
-
- public function getName()
- {
- return $this->name;
- }
-
- public function getPath()
- {
- return $this->path;
- }
-}
-
-class_alias('Twig_Source', 'Twig\Source', false);