Skip to content

Loading…

DDC-727: Proxy instances should be able to get their correspondent ClassMetadata #5239

Closed
doctrinebot opened this Issue · 9 comments

1 participant

@doctrinebot

Jira issue originally created by user @guilhermeblanco:

This should be possible:

$entity = $em->getReference('Foo' , 1); 
$class = $em->getClassMetadata(get_class($entity)); // ClassMetadata if Foo entity

Currently it seems to throw an Exception.

@doctrinebot

Issue was closed with resolution "Fixed"

@doctrinebot

Comment created by @beberlei:

A related Github Pull-Request [GH-315] was synchronize
#315

@doctrinebot

Comment created by @beberlei:

A related Github Pull-Request [GH-315] was synchronize
#315

@doctrinebot

Comment created by @beberlei:

A related Github Pull-Request [GH-315] was synchronize
#315

@doctrinebot

Comment created by @beberlei:

A related Github Pull-Request [GH-315] was synchronize
#315

@doctrinebot

Comment created by @beberlei:

A related Github Pull-Request [GH-315] was synchronize
#315

@doctrinebot

Comment created by @beberlei:

A related Github Pull-Request [GH-315] was synchronize
#315

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-315] was closed:
doctrine/common#315

@doctrinebot doctrinebot added this to the 2.0-RC1 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.