Parcourir la source

mention UnknownTemplateException in loader interface

Justin Hileman il y a 13 ans
Parent
commit
5fcd9f6d25
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      src/Mustache/Loader.php

+ 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