29 lines
559 B
PHP
29 lines
559 B
PHP
|
<?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);
|
||
|
}
|