Class yii\twig\Twig_Empty_Loader

Inheritanceyii\twig\Twig_Empty_Loader
ImplementsTwig_LoaderInterface
Source Code https://github.com/yiisoft/yii2-twig/blob/master/Twig_Empty_Loader.php

Empty loader used for environment initialisation

Method Details

exists() public method

public void exists ( $name )
$name
getCacheKey() public method

public void getCacheKey ( $name )
$name
getSourceContext() public method

public void getSourceContext ( $name )
$name
isFresh() public method

public void isFresh ( $name, $time )
$name
$time