From b28388022028bccf8ffb585c88dabfa7749e6d99 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Mon, 13 Feb 2017 21:40:04 -0500 Subject: [PATCH] Remove reference to a method that doesn't exist. Refs cakephp/cakephp#10209 --- en/orm/associations.rst | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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