Skip to content
Permalink
Browse files

Add method for backward compatibility

  • Loading branch information...
rchavik committed Apr 2, 2015
1 parent 10efcc2 commit fddc38e6a110099a426c3c66c1881e3a9dcfdc84
Showing with 13 additions and 0 deletions.
  1. +13 −0 src/ORM/Marshaller.php
@@ -337,6 +337,19 @@ protected function _loadAssociatedByIds($assoc, $ids)
return $target->find()->where($filter)->toArray();
}
/**
* Loads a list of belongs to many from ids.
*
* @param Association $assoc The association class for the belongsToMany association.
* @param array $ids The list of ids to load.
* @return array An array of entities.
* @deprecated Use _loadAssociatedByIds()
*/
protected function _loadBelongsToMany($assoc, $ids)
{
return $this->_loadAssociatedByIds($assoc, $ids);
}
/**
* Merges `$data` into `$entity` and recursively does the same for each one of
* the association names passed in `$options`. When merging associations, if an

0 comments on commit fddc38e

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