Doctrine Many to Many
Posted
by Ru Sh
on Stack Overflow
See other posts from Stack Overflow
or by Ru Sh
Published on 2010-04-19T22:30:17Z
Indexed on
2010/04/19
22:33 UTC
Read the original article
Hit count: 301
Hello, I have a question about Doctrine ORM M:M. I built some tables like this: -User +id +name -Group +id +name
I want to link these table via a new table with Doctrine:
$this->hasMany('User as Users', array(
// I'm wondering what I can fill here
'refClass' => 'Usercategory'
));
Please help me fill the blank. Thanks. Looking forward to hearing from you soon.
P/S:Sorry for my English
© Stack Overflow or respective owner