webpt/zend-couchbase-module
最新稳定版本:0.1.2
Composer 安装命令:
composer require webpt/zend-couchbase-module
包简介
Provides an abstract factory to instantiate \CouchbaseBucket objects.
README 文档
README
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.
统计信息
- 总下载量: 33.8k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-07