/** * Declare routes and actions * * @return $this */ public function routes() { $this->slim->get('/employees', function () { $controller = new Controller(); $controller->employees(); }); return $this; }