Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

Lukas Kahwe Smith Guilherme Blanco
Lukas Kahwe Smith
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.

Guilherme Blanco guilhermeblanco merged commit 34ce712 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 20, 2011
  1. Lukas Kahwe Smith
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
10 lib/Doctrine/Common/Persistence/ObjectRepository.php
View
@@ -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.