From 27bd06f534a565f1b28bc70c2ac9ae94871fc84f Mon Sep 17 00:00:00 2001 From: Ivan Shalganov Date: Thu, 10 Apr 2014 10:33:51 +0400 Subject: [PATCH] Cleanaup --- src/Fenom/Template.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/Fenom/Template.php b/src/Fenom/Template.php index b5ebda1..4777874 100644 --- a/src/Fenom/Template.php +++ b/src/Fenom/Template.php @@ -35,13 +35,6 @@ class Template extends Render */ const DENY_MODS = 2; - /** - * Template was extended - */ - const DYNAMIC_EXTEND = 0x1000; - const EXTENDED = 0x2000; - const DYNAMIC_BLOCK = 0x4000; - /** * @var int shared counter */ @@ -56,10 +49,6 @@ class Template extends Render */ public $blocks = array(); -// public $uses = array(); - -// public $parents = array(); - /** * Escape outputs value * @var bool @@ -471,7 +460,6 @@ class Template extends Render { if (!$this->_code) { // evaluate template's code - var_dump($this->_getClosureSource(), $this->_getMacrosArray()); eval("\$this->_code = " . $this->_getClosureSource() . ";\n\$this->_macros = " . $this->_getMacrosArray() . ';'); if (!$this->_code) { throw new CompileException("Fatal error while creating the template");