Class yii\twig\TwigEmptyLoader

Inheritanceyii\twig\TwigEmptyLoader
ImplementsTwig\Loader\LoaderInterface
Source Code https://github.com/yiisoft/yii2-twig/blob/master/TwigEmptyLoader.php

Empty loader used for environment initialisation

Method Details

exists() public method

public void exists ( \yii\twig\string $name )
$name
getCacheKey() public method

public void getCacheKey ( \yii\twig\string $name )
$name
getSourceContext() public method

public void getSourceContext ( \yii\twig\string $name )
$name
isFresh() public method

public void isFresh ( \yii\twig\string $name, \yii\twig\int $time )
$name
$time