ソースを参照

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

Fabien Potencier 15 年 前
コミット
41d35ab898
1 ファイル変更10 行追加0 行削除
  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.
    *