2017-06-09 14:13:44 +02:00
|
|
|
<?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.
|
|
|
|
*
|
|
|
|
* @throws Mustache_Exception_UnknownTemplateException If a template file is not found.
|
|
|
|
*
|
|
|
|
* @param string $name
|
|
|
|
*
|
|
|
|
* @return string Mustache Template source
|
|
|
|
*/
|
|
|
|
public function load($name);
|
|
|
|
}
|