mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 19:06:40 +00:00
added Twig_Environment::load() as an alias for loadTemplate()
This commit is contained in:
@@ -269,6 +269,11 @@ class Twig_Environment
|
||||
return $this->templateClassPrefix;
|
||||
}
|
||||
|
||||
public function load($name)
|
||||
{
|
||||
return $this->loadTemplate($name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads a template by name.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user