Set the connection resolver instance.
public static setConnectionResolver ( LMongo\ConnectionResolverInterface $resolver ) : void | ||
$resolver | LMongo\ConnectionResolverInterface | |
return | void |
/** * Bootstrap the application events. * * @return void */ public function boot() { Model::setConnectionResolver($this->app['lmongo']); Model::setEventDispatcher($this->app['events']); }