Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Implements an adapter for ext-mongodb #154

Merged

Conversation

weierophinney
Copy link
Member

This patch is an alternative to #132, proposing a parallel adapter for ext-mongodb, instead of repurposing the existing ext-mongo adapter to only work with ext-mongodb.

It copies the various MongoDb* classes to ExtMongoDb* variants, and applies the changes as suggested in #132. Additionally, it sets up the test harness to test ext-mongodb support in PHP 7.1 and 7.2, while testing ext-mongo support in PHP 5.6 and 7.0. When it tests ext-mongodb, it also adds a dependency on mongodb/mongodb so that the client library is available.

@weierophinney weierophinney force-pushed the feature/ext-mongodb-support branch 2 times, most recently from 33a0973 to 94b6b17 Compare April 18, 2018 19:30
This patch is an alternative to zendframework#132, proposing a parallel adapter for
ext-mongodb, instead of repurposing the existing ext-mongo adapter to
only work with ext-mongodb.

It copies the various `MongoDb*` classes to `ExtMongoDb*` variants, and
applies the changes as suggested in zendframework#132. Additionally, it sets up the
test harness to test ext-mongodb support in PHP 7.1 and 7.2, while
testing ext-mongo support in PHP 5.6 and 7.0. When it tests ext-mongodb,
it also adds a dependency on mongodb/mongodb so that the client library
is available.
@weierophinney weierophinney merged commit 1c29cf2 into zendframework:develop Apr 18, 2018
weierophinney added a commit that referenced this pull request Apr 18, 2018
weierophinney added a commit that referenced this pull request Apr 18, 2018
@weierophinney weierophinney deleted the feature/ext-mongodb-support branch April 18, 2018 21:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant