From 41d35ab89828f88a9d2cc937c46513051a4cf274 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 29 Jan 2010 12:05:43 +0100 Subject: [PATCH] [Templating] added a getLoader() to the Engine class --- src/Symfony/Components/Templating/Engine.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. *