Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@lsmith77
Collaborator

Another thing I noticed is that its unnecessary to keep the "public" keyword in interfaces, but it seems customary in Doctrine source, so I left it as is.

@guilhermeblanco guilhermeblanco merged commit 34ce712 into doctrine:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 20, 2011
  1. @lsmith77
This page is out of date. Refresh to see the latest.
Showing with 9 additions and 1 deletion.
  1. +9 −1 lib/Doctrine/Common/Persistence/ObjectRepository.php
View
10 lib/Doctrine/Common/Persistence/ObjectRepository.php
@@ -62,4 +62,12 @@ public function findBy(array $criteria);
* @return object The object.
*/
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);
+}
Something went wrong with that request. Please try again.