| 1 | <?php |
||
| 15 | class LoaderBridge implements \Twig_LoaderInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var \Spiral\Views\LoaderInterface |
||
| 19 | */ |
||
| 20 | private $loader; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param \Spiral\Views\LoaderInterface $loader |
||
| 24 | */ |
||
| 25 | public function __construct(LoaderInterface $loader) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function getSourceContext($name) |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function getCacheKey($name) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function isFresh($name, $time) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | public function exists($name) |
||
| 67 | } |