[MODM-142] DocumentRepository::findBy() not compatible with interface Created: 07/May/11 Updated: 07/May/11 |
|
| Status: | Open |
| Project: | Doctrine MongoDB ODM |
| Component/s: | Document Repositories |
| Affects Version/s: | 1.0.0BETA3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Jan Pieper | Assignee: | Jonathan H. Wage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I want to get a document repository for my Document\Event document class but instead i get a fatal error. Pseudo <?php use Doctrine\MongoDB\Connection; use Doctrine\ODM\MongoDB\DocumentManager; use Doctrine\ODM\MongoDB\Configuration; use Documents\Event; $manager = new DocumentManager( new Connection(...), new Configuration(...) ); $manager->getRepository('Documents\Event');
DoctrineCommonPersistenceObjectRepository.php (github@5a285537) public function findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null); DoctrineODMMongoDBDocumentRepository.php (github@8d02e843) public function findBy(array $criteria) { ... }
|