added dumpable interface, implemented all ManiaPlanet Callbacks

This commit is contained in:
kremsy
2017-03-24 22:08:51 +01:00
parent 7c01319a4a
commit 7a668b53ba
9 changed files with 158 additions and 46 deletions

View File

@ -0,0 +1,19 @@
<?php
/**
* Created by PhpStorm.
* User: Lukas
* Date: 24. Mär. 2017
* Time: 21:59
*/
namespace ManiaControl\General;
trait DumpTrait {
/**
* Var_Dump Public Properties of the Object
*/
public function dump() {
var_dump(json_decode(json_encode($this)));
}
}