diff --git a/src/Symfony/Components/Templating/Engine.php b/src/Symfony/Components/Templating/Engine.php index a76f8ebd99..cc56a6ebec 100644 --- a/src/Symfony/Components/Templating/Engine.php +++ b/src/Symfony/Components/Templating/Engine.php @@ -308,6 +308,16 @@ class Engine return $this->charset; } + /** + * Gets the loader associated with this engine. + * + * @return LoaderInterface A LoaderInterface instance + */ + public function getLoader() + { + return $this->loader; + } + /** * Sets a template renderer. *