Skip to content
This repository

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

Merged
merged 1 commit into from almost 3 years ago

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 May 04, 2011
Guilherme Blanco guilhermeblanco closed this May 04, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 20, 2011
Lukas Kahwe Smith DCOM-28: added ObjectRepository::findMany() eb3f9da
This page is out of date. Refresh to see the latest.
10  lib/Doctrine/Common/Persistence/ObjectRepository.php
@@ -62,4 +62,12 @@ public function findBy(array $criteria);
62 62
      * @return object The object.
63 63
      */
64 64
     public function findOneBy(array $criteria);
65  
-}
  65
+
  66
+    /**
  67
+     * Find Many documents of the given repositories type by id.
  68
+     *
  69
+     * @param array $ids of identifiers
  70
+     * @return array of object instances
  71
+     */
  72
+    public function findMany(array $ids);
  73
+}
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.