Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCOM-28: add ObjectRepository::findMany() #11

Merged
merged 1 commit into from May 5, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 9 additions & 1 deletion lib/Doctrine/Common/Persistence/ObjectRepository.php
Expand Up @@ -62,4 +62,12 @@ public function findBy(array $criteria);
* @return object The object. * @return object The object.
*/ */
public function findOneBy(array $criteria); public function findOneBy(array $criteria);
}
/**
* Find Many documents of the given repositories type by id.
*
* @param array $ids of identifiers
* @return array of object instances
*/
public function findMany(array $ids);
}