mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 10:26:32 +00:00
add throws tags doc block for Twig_Environment:load
This commit is contained in:
committed by
Fabien Potencier
parent
a726fc51bb
commit
882c7aab2a
@@ -383,6 +383,10 @@ class Twig_Environment
|
||||
*
|
||||
* @param string|Twig_TemplateWrapper|Twig_Template $name The template name
|
||||
*
|
||||
* @throws Twig_Error_Loader When the template cannot be found
|
||||
* @throws Twig_Error_Runtime When a previously generated cache is corrupted
|
||||
* @throws Twig_Error_Syntax When an error occurred during compilation
|
||||
*
|
||||
* @return Twig_TemplateWrapper
|
||||
*/
|
||||
public function load($name)
|
||||
|
||||
Reference in New Issue
Block a user