dump playerscache optional
This commit is contained in:
parent
3a70b7e902
commit
1b142192ab
@ -317,9 +317,14 @@ class Player {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Var_Dump the Player
|
* Var_Dump the Player
|
||||||
|
*
|
||||||
|
* @param bool $dumpCache
|
||||||
*/
|
*/
|
||||||
public function dump() {
|
public function dump($dumpCache = false) {
|
||||||
var_dump(json_decode(json_encode($this)));
|
var_dump(json_decode(json_encode($this)));
|
||||||
|
if ($dumpCache) {
|
||||||
|
var_dump("PlayerCache:", $this->cache);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user