summaryrefslogtreecommitdiffstats
path: root/Mustache/Loader.php
diff options
context:
space:
mode:
Diffstat (limited to 'Mustache/Loader.php')
-rw-r--r--Mustache/Loader.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/Mustache/Loader.php b/Mustache/Loader.php
new file mode 100644
index 0000000..f082cf5
--- /dev/null
+++ b/Mustache/Loader.php
@@ -0,0 +1,26 @@
+<?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);
+}