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: In Group class:
$this->hasMany('User as Users', array(
// I'm wondering what I can fill here
'refClass' => 'UserGroup'
));
ve kullanıcı sınıfta:
$this->hasMany('Group as Groups', array(
// I'm wondering what I can fill here
'refClass' => 'UserGroup'
));
Please help me fill the blank. Thanks. Looking forward to hearing from you soon.
P / S: İngilizcem için özür dilerim