public function listLogs(Request $request) { $stats = $this->logViewer->statsTable(); $headers = $stats->header(); $rows = $this->paginate($stats->rows(), $request); return $this->view('logs', compact('headers', 'rows', 'footer')); }