Add support for PHP 5.2.x

This commit is contained in:
Justin Hileman
2012-03-17 23:05:52 -07:00
parent 99ff7316b3
commit bec9ce8448
34 changed files with 330 additions and 473 deletions
+2 -4
View File
@@ -9,12 +9,10 @@
* file that was distributed with this source code.
*/
namespace Mustache;
/**
* Mustache Template rendering Context.
*/
class Context {
class Mustache_Context {
private $stack = array();
/**
@@ -118,7 +116,7 @@ class Context {
/**
* Helper function to find a variable in the Context stack.
*
* @see \Mustache\Context::find
* @see Mustache_Context::find
*
* @param string $id Variable name
* @param array $stack Context stack