param('slug')); } #[Get('/feed.xml')] public function feed(): ResponseInterface { return new TestResponse(200, 'feed'); } #[Get('/robots.txt')] public function robots(): ResponseInterface { return new TestResponse(200, 'robots'); } #[Get('/sitemap.xml')] public function sitemap(): ResponseInterface { return new TestResponse(200, 'sitemap'); } #[Get('/notes')] public function notes(): ResponseInterface { return new TestResponse(200, 'notes'); } #[Get('/notes/{id}')] public function noteShow(RequestInterface $request): ResponseInterface { return new TestResponse(200, 'note-show:' . $request->param('id')); } }