From ce8150e469804e5b547cda1f4ab51da22d1ce116 Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Sun, 17 Aug 2014 09:31:33 +0300 Subject: [PATCH] debug info --- lib/context.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/context.php b/lib/context.php index 09dc03c..fbfa700 100644 --- a/lib/context.php +++ b/lib/context.php @@ -39,6 +39,11 @@ class IPF_Template_Context foreach ($frame as $var => $val) $this->set($var, $val); } + + public function __debugInfo() + { + return (array)$this->_vars; + } } class IPF_Template_ContextVars extends ArrayObject -- 2.49.0