projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
79ab9ba
)
added Twig_Environment::load() as an alias for loadTemplate()
author
Fabien Potencier
<fabien.potencier@gmail.com>
Tue, 22 Mar 2011 10:58:42 +0000 (11:58 +0100)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Tue, 22 Mar 2011 10:58:42 +0000 (11:58 +0100)
lib/Twig/Environment.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Environment.php
b/lib/Twig/Environment.php
index
92809ed
..
440a2f3
100644
(file)
--- a/
lib/Twig/Environment.php
+++ b/
lib/Twig/Environment.php
@@
-269,6
+269,11
@@
class Twig_Environment
return $this->templateClassPrefix;
}
+ public function load($name)
+ {
+ return $this->loadTemplate($name);
+ }
+
/**
* Loads a template by name.
*