dump playercache

This commit is contained in:
kremsy 2014-05-10 13:35:23 +02:00
parent 1b142192ab
commit 778dec9a7d

View File

@ -317,16 +317,17 @@ class Player {
/** /**
* Var_Dump the Player * Var_Dump the Player
*
* @param bool $dumpCache
*/ */
public function dump($dumpCache = false) { public function dump() {
var_dump(json_decode(json_encode($this))); var_dump(json_decode(json_encode($this)));
if ($dumpCache) {
var_dump("PlayerCache:", $this->cache);
}
} }
/**
* Dump the Players Cache
*/
public function dumpCache() {
var_dump("PlayerCache:", $this->cache);
}
/** /**
* Get Class Name of a Parameter * Get Class Name of a Parameter