Hi,

A quite vague question, which was probably asked a houndred times before ;)

Does anybody know, why is the "getEntityManager()"-method of the
EntityRepository is protected? There are also no other method exposed, to
persist an entity. I ask, because right know I have to carry around the
repositories I want to use alongside with their corresponding
entity-managers to both load and save entities.

The subject is about ObjectManager, so yeah: This question slightly covers
the other implementations as well.

Regards,
Sebastian

-- 
github.com/KingCrunch

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to