ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SourceContextLoaderInterface.php
Go to the documentation of this file.
1<?php
2
3/*
4 * This file is part of Twig.
5 *
6 * (c) Fabien Potencier
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
20{
30 public function getSourceContext($name);
31}
32
33class_alias('Twig_SourceContextLoaderInterface', 'Twig\Loader\SourceContextLoaderInterface', false);
An exception for terminatinating execution or to throw for unit testing.
Adds a getSourceContext() method for loaders.
getSourceContext($name)
Returns the source context for a given template logical name.