We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2dcae38 + 5a2d299 commit 6015d84Copy full SHA for 6015d84
readme.md
@@ -908,11 +908,11 @@ creators of MongoDB describing its addition to Mongoose](http://aaronheckmann.tu
908
To setup a versioned document you can simply create a model implementing `version()` which returns `true` and, optionally, `versionField()`:
909
910
class versioned extends EMongoDocument{
911
- public versioned(){
+ public function versioned(){
912
return true;
913
}
914
915
- public versionField(){
+ public function versionField(){
916
return '_v'; // This is actually the default value in EMongoDocument
917
918
0 commit comments