Explorar o código

[Templating] added a getLoader() to the Engine class

Fabien Potencier %!s(int64=15) %!d(string=hai) anos
pai
achega
41d35ab898
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      src/Symfony/Components/Templating/Engine.php

+ 10 - 0
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.
    *