private function instantiateControllers() { $this->app['notes.controller'] = function () { return new Controllers\NotesController($this->app['notes.service']); }; }