/** * @internal * @param \Exception|NULL $e * @return string[]|NULL */ public static function render(\Exception $e = NULL) { if (!$e instanceof \Nella\Tracy\DebugInfoException) { return NULL; // skip } return ['tab' => 'Exception Debug Info', 'panel' => \Tracy\Dumper::toHtml($e->__debugInfo())]; }