composer package updates
[openemr.git] / vendor / twig / twig / lib / Twig / RuntimeLoaderInterface.php
blobf5eb14e0d90fbe8a4a9407030549e2006a1b07ea
1 <?php
3 /*
4 * This file is part of Twig.
6 * (c) Fabien Potencier
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 /**
13 * Creates runtime implementations for Twig elements (filters/functions/tests).
15 * @author Fabien Potencier <fabien@symfony.com>
17 interface Twig_RuntimeLoaderInterface
19 /**
20 * Creates the runtime implementation of a Twig element (filter/function/test).
22 * @param string $class A runtime class
24 * @return object|null The runtime instance or null if the loader does not know how to create the runtime for this class
26 public function load($class);
29 class_alias('Twig_RuntimeLoaderInterface', 'Twig\RuntimeLoader\RuntimeLoaderInterface', false);