Comments (6)
it should not be protected and you should not extend that class, you can set all the attributes in the constructor and you shouldn't access them from inside the class anymore.
What is your use case?
from mongodb.
I'm saying look at this class that jwage crated here: https://github.com/doctrine/mongodb-odm/blob/master/lib/Doctrine/ODM/MongoDB/Configuration.php where he does extend it and it causes parse notices in IDE's and such..
from mongodb.
good point, Jon, will you update the visibility then?
from mongodb.
Yes I will issue a pull request later today..
from mongodb.
Thank you!
from mongodb.
applied your pull, thanks!
from mongodb.
Related Issues (20)
- Mongo PHP Library HOT 1
- Support for MongoDB Driver HOT 4
- Getting junk data on running findAll or similar find methods for document containing embedded document HOT 8
- BC break: 1.5.0 => 1.6.0: Proxy generation: embedded documents can no longer be marked final HOT 1
- [AggregationBuilder] : Add $unwind 2nd and 3rd optional parameters HOT 1
- link to "latest documentation" returns 404 HOT 2
- Error: the match filter must be an expression in an object HOT 7
- Installing doctrine/mongodb on PHP7.1 HOT 3
- pymongo.errors.CursorNotFound: Cursor not found, cursor id: 542052039037 HOT 1
- Aggregate error HOT 9
- Documentation is offline HOT 1
- Time for ^7.1 support only? Moving doctrine/mongo* forward HOT 2
- Saving document with bi-directional reference leads to deletion of references of other documents HOT 1
- Uncaught InvalidArgumentException HOT 2
- Deprecation on next major version HOT 1
- Undefined index: _id after upgrading to 1.6.4 from 1.6.3 HOT 2
- wrong required php extention HOT 1
- Cannot create collection using Database::createCollection() with MongoDB >=4.1.10 HOT 1
- Find not working HOT 2
- Drop doctrine/common dependency HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongodb.