summaryrefslogtreecommitdiffstats
path: root/Mustache/Loader.php
diff options
context:
space:
mode:
authorSimon Rettberg2023-10-02 18:01:05 +0200
committerSimon Rettberg2023-10-02 18:01:05 +0200
commitc8e975a0151c74ea731dc709640310222d884297 (patch)
tree62688c460ac71b65a205344e7a6d78a6ab5a96ee /Mustache/Loader.php
parentDisable deprecated warnings when not in debug mode (diff)
downloadslx-admin-c8e975a0151c74ea731dc709640310222d884297.tar.gz
slx-admin-c8e975a0151c74ea731dc709640310222d884297.tar.xz
slx-admin-c8e975a0151c74ea731dc709640310222d884297.zip
Update Mustache to 46286a1
Diffstat (limited to 'Mustache/Loader.php')
-rw-r--r--Mustache/Loader.php53
1 files changed, 27 insertions, 26 deletions
diff --git a/Mustache/Loader.php b/Mustache/Loader.php
index f082cf59..23adba1a 100644
--- a/Mustache/Loader.php
+++ b/Mustache/Loader.php
@@ -1,26 +1,27 @@
-<?php
-
-/*
- * This file is part of Mustache.php.
- *
- * (c) 2012 Justin Hileman
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-/**
- * Mustache Template Loader interface.
- */
-interface Mustache_Loader
-{
-
- /**
- * Load a Template by name.
- *
- * @param string $name
- *
- * @return string Mustache Template source
- */
- public function load($name);
-}
+<?php
+
+/*
+ * This file is part of Mustache.php.
+ *
+ * (c) 2010-2017 Justin Hileman
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+/**
+ * Mustache Template Loader interface.
+ */
+interface Mustache_Loader
+{
+ /**
+ * Load a Template by name.
+ *
+ * @throws Mustache_Exception_UnknownTemplateException If a template file is not found
+ *
+ * @param string $name
+ *
+ * @return string|Mustache_Source Mustache Template source
+ */
+ public function load($name);
+}