From 778dec9a7d0f11ccb81ddfe88a7f36a96b5e2254 Mon Sep 17 00:00:00 2001 From: kremsy Date: Sat, 10 May 2014 13:35:23 +0200 Subject: [PATCH] dump playercache --- application/core/Players/Player.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/application/core/Players/Player.php b/application/core/Players/Player.php index 0d327df2..895fcefb 100644 --- a/application/core/Players/Player.php +++ b/application/core/Players/Player.php @@ -317,16 +317,17 @@ class Player { /** * Var_Dump the Player - * - * @param bool $dumpCache */ - public function dump($dumpCache = false) { + public function dump() { 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