Эх сурвалжийг харах

mention UnknownTemplateException in loader interface

Justin Hileman 13 жил өмнө
parent
commit
5fcd9f6d25

+ 2 - 0
src/Mustache/Loader.php

@@ -18,6 +18,8 @@ interface Mustache_Loader
     /**
      * Load a Template by name.
      *
+     * @throws Mustache_Exception_UnknownTemplateException If a template file is not found.
+     *
      * @param string $name
      *
      * @return string Mustache Template source