public function setupRoutes() { $this->app->get('/foo', function () { }); $this->app->get('/bar', function () { }); $this->app->post('/bar', function () { }); $this->app->delete('/bar', function () { }); }