Version 1
[yaffs-website] / web / modules / contrib / devel / kint / kint / inc / kintObject.class.php
diff --git a/web/modules/contrib/devel/kint/kint/inc/kintObject.class.php b/web/modules/contrib/devel/kint/kint/inc/kintObject.class.php
new file mode 100644 (file)
index 0000000..6365123
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+
+abstract class KintObject
+{
+       /** @var string type of variable, can be set in inherited object or in static::parse() method */
+       public $name = 'NOT SET';
+
+       /** @var string quick variable value displayed inline */
+       public $value;
+
+       /**
+        * returns false or associative array - each key represents a tab in default view, values may be anything
+        *
+        * @param $variable
+        *
+        * @return mixed
+        */
+       abstract public function parse( & $variable );
+}
\ No newline at end of file