maniaControl = $maniaControl; $this->setJson($data); } /** * Decodes the Data and Sets the Json * * @param array $data */ protected function setJson($data) { $this->plainJson = json_decode($data[0]); } /** * Gets the Plain Json */ public function getJson() { return $this->plainJson; } /** * Var_Dump the Structure */ public function dump() { var_dump(json_decode(json_encode($this))); var_dump("Class Name including Namespace: " . get_class($this)); } }