Skip to content
Permalink
Browse files

Explain shortcut

  • Loading branch information...
dereuromark committed Jul 5, 2018
1 parent 336e9be commit 9689c995533c0d822aa6495eb17215a8ae9d13b2
Showing with 8 additions and 8 deletions.
  1. +8 −8 src/ORM/Association/BelongsToMany.php
@@ -931,14 +931,14 @@ function () use ($sourceEntity, $targetEntities, $options) {
*
* `$article->get('tags')` will contain only `[$tag4]` after deleting in the database
*
* @param \Cake\Datasource\EntityInterface $sourceEntity an entity persisted in the source table for
* this association
* @param array $targetEntities list of entities persisted in the target table for
* this association
* @param array|bool $options list of options to be passed to the internal `delete` call,
* or a `boolean`
* @throws \InvalidArgumentException if non persisted entities are passed or if
* any of them is lacking a primary key value
* @param \Cake\Datasource\EntityInterface $sourceEntity An entity persisted in the source table for
* this association.
* @param array $targetEntities List of entities persisted in the target table for
* this association.
* @param array|bool $options List of options to be passed to the internal `delete` call,
* or a `boolean` as `cleanProperty` key shortcut.
* @throws \InvalidArgumentException If non persisted entities are passed or if
* any of them is lacking a primary key value.
* @return bool Success
*/
public function unlink(EntityInterface $sourceEntity, array $targetEntities, $options = [])

0 comments on commit 9689c99

Please sign in to comment.
You can’t perform that action at this time.