Skip to content

Moved the check on mapped superclasses to an dedicated method#162

Merged
beberlei merged 3 commits intodoctrine:masterfrom
stof:root_entity_found
Jul 7, 2012
Merged

Moved the check on mapped superclasses to an dedicated method#162
beberlei merged 3 commits intodoctrine:masterfrom
stof:root_entity_found

Conversation

@stof
Copy link
Member

@stof stof commented Jul 6, 2012

The previous logic was specific to the ORM and could not be reused for
the MongoDB ODM.

The PR for the ORM is coming.

@lsmith77 the PHPCR ODM will need to be updated as it uses the class from Common too IIRC.

The previous logic was specific to the ORM and could not be reused for
the MongoDB ODM.
stof added a commit to stof/orm that referenced this pull request Jul 6, 2012
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this method should have a full or no description :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oups, I forgot the end :)

stof added a commit to stof/phpcr-odm that referenced this pull request Jul 6, 2012
@stof
Copy link
Member Author

stof commented Jul 6, 2012

Fixed. I also simplified the mock object as the logic was not needed (and would always have returned true anyway in the test where it is used)

@stof
Copy link
Member Author

stof commented Jul 6, 2012

@beberlei are you already using this class in the CouchDB ODM or no ? If yes, I can provide you a PR with the update if you want

beberlei added a commit that referenced this pull request Jul 7, 2012
Moved the check on mapped superclasses to an dedicated method
@beberlei beberlei merged commit b3afbb8 into doctrine:master Jul 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants