Explorar el Código

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

Fabien Potencier hace 15 años
padre
commit
41d35ab898
Se han modificado 1 ficheros con 10 adiciones y 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.
    *