request = $request; } public function authorize(): bool { return $this->request->user() !== null; } public function getIndex(): IContent { return new HtmlContent('index'); } }