public function __construct($loader, $helpers = array()) { $this->loader = $loader; $this->helpers = $helpers; $this->parent = null; $this->blocks = array(); $this->macros = array(); $this->imports = array(); $this->stack = array(); }