1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +03:00

fallback to persister count

This commit is contained in:
Michaël Gallego 2014-01-03 09:30:06 +01:00
parent fbbe922cb6
commit e5ba28676d

View file

@ -279,6 +279,6 @@ abstract class AbstractCollectionPersister implements CachedCollectionPersister
*/ */
public function loadCriteria(PersistentCollection $collection, Criteria $criteria) public function loadCriteria(PersistentCollection $collection, Criteria $criteria)
{ {
throw new \BadMethodCallException("Filtering a collection by Criteria is not supported by this CollectionPersister."); return $this->persister->loadCriteria($collection, $criteria);
} }
} }