arogachev/yii2-many-to-many

Add shortcut for filling all relations

arogachev opened this issue · 0 comments

Also array will be good option too.

Currently can be done like this:

foreach ($model->getManyToManyRelations() as $relation) {
    $relation->fill();
}

Or add this info to the docs.