improved base callback structure
This commit is contained in:
parent
2faa78c8e2
commit
ca5dd279c1
@ -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)));
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user