diff options
author | Simon Rettberg | 2015-03-02 16:51:04 +0100 |
---|---|---|
committer | Simon Rettberg | 2015-03-02 16:51:04 +0100 |
commit | ab23338fe9f1b3ed21455867f1c032d7b146ceb8 (patch) | |
tree | 33d27fd848e25ae24a57b309348b5d73a811f223 /Mustache/Loader/MutableLoader.php | |
download | bwlp-webadmin-ab23338fe9f1b3ed21455867f1c032d7b146ceb8.tar.gz bwlp-webadmin-ab23338fe9f1b3ed21455867f1c032d7b146ceb8.tar.xz bwlp-webadmin-ab23338fe9f1b3ed21455867f1c032d7b146ceb8.zip |
Initial Commit
Diffstat (limited to 'Mustache/Loader/MutableLoader.php')
-rw-r--r-- | Mustache/Loader/MutableLoader.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Mustache/Loader/MutableLoader.php b/Mustache/Loader/MutableLoader.php new file mode 100644 index 0000000..952db2f --- /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);
+}
|