interface RuntimeLoaderInterface
Creates runtime implementations for Twig elements (filters/functions/tests).
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Twig\RuntimeLoader\RuntimeLoaderInterface
Expanded class hierarchy of RuntimeLoaderInterface
All classes that implement RuntimeLoaderInterface
2 files declare their use of RuntimeLoaderInterface
- Environment.php in vendor/
twig/ twig/ src/ Environment.php - IntegrationTestCase.php in vendor/
twig/ twig/ src/ Test/ IntegrationTestCase.php
File
-
vendor/
twig/ twig/ src/ RuntimeLoader/ RuntimeLoaderInterface.php, line 19
Namespace
Twig\RuntimeLoaderView source
interface RuntimeLoaderInterface {
/**
* Creates the runtime implementation of a Twig element (filter/function/test).
*
* @return object|null The runtime instance or null if the loader does not know how to create the runtime for this class
*/
public function load(string $class);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
RuntimeLoaderInterface::load | public | function | Creates the runtime implementation of a Twig element (filter/function/test). | 2 |