Adding many-to-many joins in CakePHP with newEntity
To allow CakePHP 3 to add entries to many-to-many join tables when creating or patching entities, the names of the associations must be added to the array of accessible concrete properties on the model. The documentation does mention this fact eventually, as a note in the “Patching HasMany and BelongsToMany” section, but not as part of … [Read more…]