Class yii\twig\Twig_Empty_Loader
| Inheritance | yii\twig\Twig_Empty_Loader |
|---|---|
| Implements | Twig_LoaderInterface |
| Source Code | https://github.com/yiisoft/yii2-twig/blob/master/src/Twig_Empty_Loader.php |
Empty loader used for environment initialisation
Public Methods
| Method | Description | Defined By |
|---|---|---|
| exists() | yii\twig\Twig_Empty_Loader | |
| getCacheKey() | yii\twig\Twig_Empty_Loader | |
| getSourceContext() | yii\twig\Twig_Empty_Loader | |
| isFresh() | yii\twig\Twig_Empty_Loader |
Method Details
| public getCacheKey ( mixed $name ) | ||
| $name | mixed | |
public function getCacheKey($name)
{
throw new \Twig_Error_Loader("Can not render using empty loader");
}
| public getSourceContext ( mixed $name ) | ||
| $name | mixed | |
public function getSourceContext($name)
{
throw new \Twig_Error_Loader("Can not render using empty loader");
}