Skip to content

Commit

Permalink
Merge branch 'master' of http://github.com/jwage/odm
Browse files Browse the repository at this point in the history
  • Loading branch information
avalanche123 committed May 17, 2010
2 parents fdb3e98 + 1b02ae8 commit 21fc723
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions tests/Documents/BaseDocument.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace Documents;

/** @MappedSuperClass */
class BaseDocument
{
}
2 changes: 1 addition & 1 deletion tests/Documents/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @DiscriminatorField(fieldName="type")
* @DiscriminatorMap({"special"="Documents\SpecialUser"})
*/
class User
class User extends BaseDocument
{
/** @Id */
protected $id;
Expand Down

0 comments on commit 21fc723

Please sign in to comment.