Get parent classes#374
Closed
TomHAnderson wants to merge 144 commits intodoctrine:masterfrom
TomHAnderson:getParentClasses
Closed
Get parent classes#374TomHAnderson wants to merge 144 commits intodoctrine:masterfrom TomHAnderson:getParentClasses
TomHAnderson wants to merge 144 commits intodoctrine:masterfrom
TomHAnderson:getParentClasses
Conversation
…ta for a large test
… to an assocation.
…mSchemaOptions
…Proxy * Adjust ProxyFactory to generate proxies according to new naming schema. * Change proxy naming and file-name generation to be a bit more consistent than previous approach. [DDC-1598] Additional regexp to check for simple ID methods to make it even more safe.
…ement and contains now deal correctly with managed entities.
…ols\Pagination namespace. Thanks to @hobodave, pablo and the knplabs team for developing and maintaining this code.
…dition although its independent.
Composer requirement
…hile validating a wrong inversedBy Attribute
[DDC-1835] Fix clone side effects in PersistentCollection
…#iterate() and EntityManager#clear()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added function get parent classes to ClassMetadataInfo.
I added this function to differentiate between inherited entities and traditional entities. We are using a modified version of SimpleThings audit reader and inherited entities can't be audited this way, the parent entity must. The code was iterating over the list of entities and I broke out when an entity has parent classes, using this function.