1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Update to latest cache API

This commit is contained in:
Michaël Gallego 2014-01-03 09:32:48 +01:00 committed by Marco Pivetta
parent 9813c2d5f1
commit 7551b1ad00

View File

@ -156,6 +156,14 @@ abstract class AbstractEntityPersister implements CachedEntityPersister
return $this->persister->getSelectSQL($criteria, $assoc, $lockMode, $limit, $offset, $orderBy);
}
/**
* {@inheritDoc}
*/
public function getCountSQL($criteria = array())
{
return $this->persister->count($criteria);
}
/**
* {@inheritdoc}
*/
@ -485,6 +493,14 @@ abstract class AbstractEntityPersister implements CachedEntityPersister
return $entity;
}
/**
* {@inheritDoc}
*/
public function count($criteria = array())
{
return $this->persister->count($criteria);
}
/**
* {@inheritdoc}
*/