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

Closed
doctrinebot opened this Issue Jul 30, 2010 · 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 Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment