summaryrefslogtreecommitdiffstats
path: root/Mustache/Loader/MutableLoader.php
diff options
context:
space:
mode:
authorSimon Rettberg2013-10-15 19:24:01 +0200
committerSimon Rettberg2013-10-15 19:24:01 +0200
commit43e406068af8f2ae3d77301926bb5d31f392c961 (patch)
treea71f2fda66e789a6a1d2a9437bc1e37027e4ee93 /Mustache/Loader/MutableLoader.php
downloadslx-admin-43e406068af8f2ae3d77301926bb5d31f392c961.tar.gz
slx-admin-43e406068af8f2ae3d77301926bb5d31f392c961.tar.xz
slx-admin-43e406068af8f2ae3d77301926bb5d31f392c961.zip
Initial commit
Diffstat (limited to 'Mustache/Loader/MutableLoader.php')
-rw-r--r--Mustache/Loader/MutableLoader.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/Mustache/Loader/MutableLoader.php b/Mustache/Loader/MutableLoader.php
new file mode 100644
index 00000000..952db2f0
--- /dev/null
+++ b/Mustache/Loader/MutableLoader.php
@@ -0,0 +1,32 @@
+<?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 mutable Loader interface.
+ */
+interface Mustache_Loader_MutableLoader
+{
+
+ /**
+ * Set an associative array of Template sources for this loader.
+ *
+ * @param array $templates
+ */
+ public function setTemplates(array $templates);
+
+ /**
+ * Set a Template source by name.
+ *
+ * @param string $name
+ * @param string $template Mustache Template source
+ */
+ public function setTemplate($name, $template);
+}