* @copyright Copyright (c) 2023, Dale Davies * @license MIT */ namespace Jump\Debugger; class JumpConfigPanel { public static function panel(?\Throwable $e) { if ($e === null) { $content = '
';
foreach ((new \Jump\Config())->get_all() as $param => $value) {
$content .= ''.$param.' : '.$value.'
';
}
$content .= '';
return [
'tab' => 'Jump Config',
'panel' => $content,
'bottom' => true
];
}
return null;
}
}