Skip to content

Provides an abstract factory for instantiating named \CouchbaseBucket objects.

License

Notifications You must be signed in to change notification settings

webpt/zend-couchbase-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrutinizer Code Quality Code Coverage Build Status

webpt/zend-couchbase-module

Provides an abstract factory for instantiating named \CouchbaseBucket objects.

Installation

composer require webpt/zend-couchbase-module

Usage

The following snippet will produce a \CouchbaseBucket object for the localhost cluster default bucket:

$bucket = $serviceLocator->get('couchbase.localhost.default');

See the module configuration for a functional sample configuration which can be copied into differently named and configured clusters and buckets. Cluster configuration can be shared by buckets, but only the instantiated buckets will be shared in the service manager.

Contributing

composer update && composer test:units

This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.

About

Provides an abstract factory for instantiating named \CouchbaseBucket objects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published