modules/jooby-couchbase/src/main/java/org/jooby/couchbase/Couchbase.java
public Couchbase environment(final java.util.function.Supplier<CouchbaseEnvironment> env) {
    return environment(c -> env.get());
  }
public Couchbase environment(final java.util.function.Supplier<CouchbaseEnvironment> env) {
    return environment(c -> env.get());
  }
Set a shared {@link CouchbaseEnvironment}. The environment will shutdown automatically.

@param env Environment provider.
@return This module.