diff --git a/en/orm/associations.rst b/en/orm/associations.rst index 4bbed645cc..6202441b7e 100644 --- a/en/orm/associations.rst +++ b/en/orm/associations.rst @@ -509,18 +509,7 @@ We can define the belongsToMany association in both our models as follows:: } } -We can also define a more specific relationship using the setters:: - - // In src/Model/Table/ArticlesTable.php - class ArticlesTable extends Table - { - - public function initialize(array $config) - { - $this->belongsToMany('Tags') - ->setJoinTable('articles_tags'); - } - } +We can also define a more specific relationship using configuration:: // In src/Model/Table/TagsTable.php class TagsTable extends Table