improved base callback structure

This commit is contained in:
kremsy 2017-03-23 20:43:23 +01:00
parent 2faa78c8e2
commit ca5dd279c1
2 changed files with 2 additions and 4 deletions

View File

@ -40,12 +40,12 @@ abstract class BaseStructure {
public function getJson() { public function getJson() {
return $this->plainJson; return $this->plainJson;
} }
/** /**
* Var_Dump the Structure * Var_Dump the Structure
*/ */
public function dump() { public function dump() {
var_dump($this->getJson()); var_dump("Class Name including Namespace: " . get_class($this));
var_dump(json_decode(json_encode($this))); var_dump(json_decode(json_encode($this)));
} }
} }

View File

@ -30,8 +30,6 @@ class CallbacksListStructure extends BaseStructure {
$this->responseId = $this->getJson()->responseid; $this->responseId = $this->getJson()->responseid;
$this->callbacks = $this->getJson()->callbacks; $this->callbacks = $this->getJson()->callbacks;
//$this->dump();
} }
/** /**