aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/src/Compiler/BaseCompiler.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/smarty/smarty/src/Compiler/BaseCompiler.php')
-rw-r--r--vendor/smarty/smarty/src/Compiler/BaseCompiler.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/smarty/smarty/src/Compiler/BaseCompiler.php b/vendor/smarty/smarty/src/Compiler/BaseCompiler.php
new file mode 100644
index 000000000..78c35a697
--- /dev/null
+++ b/vendor/smarty/smarty/src/Compiler/BaseCompiler.php
@@ -0,0 +1,23 @@
+<?php
+
+namespace Smarty\Compiler;
+
+use Smarty\Smarty;
+
+abstract class BaseCompiler {
+
+ /**
+ * Smarty object
+ *
+ * @var Smarty
+ */
+ protected $smarty = null;
+
+ /**
+ * @return Smarty|null
+ */
+ public function getSmarty(): Smarty {
+ return $this->smarty;
+ }
+
+} \ No newline at end of file