public function boot() { Model::setConnectionResolver($this->app['lmongo']); Model::setEventDispatcher($this->app['events']); }