2017 © Pedro Peláez
 

library drupal_doctrine_cache

A mechanism for doctrine to cache using Drupal's caching API.

image

capgemini/drupal_doctrine_cache

A mechanism for doctrine to cache using Drupal's caching API.

  • Thursday, May 21, 2015
  • by tsphethean
  • Repository
  • 13 Watchers
  • 7 Stars
  • 960 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 3 Versions
  • 15 % Grown

The README.md

Drupal Doctrine Cache

This repository provides a Doctrine cache that will use the Drupal 6/7 caching API for storage., (*1)

It's fairly straightforward to use, just configure your EntityManager with a new instance of the cache., (*2)

$cache = new \Capgemini\Cache\DrupalDoctrineCache();
$entityManagerConfiguration->setMetaDataCacheImpl($cache);
$entityManagerConfiguration->setQueryCacheImpl($cache);
$entityManagerConfiguration->setResultCacheImpl($cache);

By default the cache will use the 'cache' table. You can change this :-, (*3)

$cache->setCacheTable('my_cache_table');

Obviously you need to ensure that the table exists and is usable by the Drupal caching API., (*4)

The Versions

21/05 2015

dev-master

9999999-dev

A mechanism for doctrine to cache using Drupal's caching API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Iain Potter

cache caching doctrine drupal

21/05 2015

0.0.2

0.0.2.0

A mechanism for doctrine to cache using Drupal's caching API.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

by Iain Potter

cache caching doctrine drupal

09/06 2014

0.0.1

0.0.1.0

A mechanism for doctrine to cache using Drupal's caching API.

  Sources   Download

Apache-2.0

The Requires

 

by Iain Potter

cache caching doctrine drupal