Merge branch 'MDL-62945-master' of https://github.com/HuongNV13/moodle
[moodle.git] / lib / mustache / src / Mustache / Loader.php
blob23adba1a8ddff4ae93eee6023870ac1a990e04f1
1 <?php
3 /*
4 * This file is part of Mustache.php.
6 * (c) 2010-2017 Justin Hileman
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 /**
13 * Mustache Template Loader interface.
15 interface Mustache_Loader
17 /**
18 * Load a Template by name.
20 * @throws Mustache_Exception_UnknownTemplateException If a template file is not found
22 * @param string $name
24 * @return string|Mustache_Source Mustache Template source
26 public function load($name);