Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[MODM-119] Adding missing strategy property to Field annotation.

  • Loading branch information...
commit b9bd2dcbab3c8ea2ef537fa1301525b3004ba795 1 parent afa17ea
Jonathan H. Wage jwage authored
1  lib/Doctrine/ODM/MongoDB/Mapping/Driver/DoctrineAnnotations.php
View
@@ -74,6 +74,7 @@ class Field extends Annotation
public $type = 'string';
public $nullable = false;
public $options = array();
+ public $strategy;
}
final class Id extends Field
{
2  tests/Documents/Article.php
View
@@ -21,7 +21,7 @@ class Article
/** @Date */
private $createdAt;
- /** @Collection */
+ /** @Field(type="collection", strategy="set") */
private $tags = array();
public function getId()
Please sign in to comment.
Something went wrong with that request. Please try again.