view('crawler.index', [ 'title' => 'Crawler', 'crawls' => $this->crawls->listRecent(50), ]); } public function show(int $id): void { $crawl = $this->crawls->find($id); if ($crawl === null) { $this->notFound('Crawl nicht gefunden'); return; } $this->view('crawler.show', [ 'title' => 'Crawl #' . $id, 'crawl' => $crawl, 'pages' => $this->pages->listByCrawl($id, 200, 0), 'stats' => $this->stats->forCrawl($id), ]); } public function errors(int $id): void { $crawl = $this->crawls->find($id); if ($crawl === null) { $this->notFound('Crawl nicht gefunden'); return; } $this->view('crawler.errors', [ 'title' => 'Fehler #' . $id, 'crawl' => $crawl, 'errors' => $this->errorsRepo->listByCrawl($id), ]); } }