public function getBody() { $body = json_encode($this->get('body')); if (Config::get('debug')) { if (Dump::getAll()) { foreach (Dump::getAll() as $source => $var) { //if ($var[1] === true) { $expand = true; } $body .= "<pre class='xdebug-var-dump'>" . var_export($var[0], true) . "</pre>"; } } } return $body; }