. */ namespace Doctrine\ORM\Cache; use Doctrine\ORM\EntityManagerInterface; /** * Default implementation of the {@see \Doctrine\ORM\Cache\CacheInstantiator}, responsible * for producing an {@see \Doctrine\ORM\Cache\DefaultCache} * * @since 2.5 * @author Marco Pivetta */ class DefaultCacheInstantiator implements CacheInstantiator { /** * {@inheritDoc} */ public function getCache(EntityManagerInterface $entityManager) { return new DefaultCache($entityManager); } }