Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mrsuh/mongo-odm into dev
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/DBAL.php
#	src/Document/Document.php
#	src/DocumentMapper/DataMapper.php
#	src/DocumentMapper/DataMapperFactory.php
  • Loading branch information
mrsuh committed Jul 3, 2017
1 parent 298854e commit c265bb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Note extends ODM\Document\Document
}

/* Initialize connection */
$dbal = new ODM\DBAL('127.0.0.1', '27017', 'test2');
$dbal = new ODM\DBAL('127.0.0.1', '27017', 'test');
$factory = new ODM\DocumentMapper\DataMapperFactory($dbal);

/* Initialize DataMapper for your Document */
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"description": "mongo odm",
"type": "library",
"require": {
"mongodb/mongodb": "^1.1"
"mongodb/mongodb": "^1.1",
"php": "7.*"
},
"autoload": {
"psr-4": { "ODM\\": "src/" }
Expand Down
3 changes: 0 additions & 3 deletions src/Instantiator/Instantiator.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

class Instantiator
{
const SERIALIZATION_FORMAT_USE_UNSERIALIZER = 'C';
const SERIALIZATION_FORMAT_AVOID_UNSERIALIZER = 'O';

/**
* @param string $class_name
* @return mixed
Expand Down

0 comments on commit c265bb0

Please sign in to comment.