public function AbstractClassMetadataFactory::getCacheDriver

Gets the cache driver used by the factory to cache ClassMetadata instances.

Return value

Doctrine\Common\Cache\Cache

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php, line 82

Class

AbstractClassMetadataFactory
The ClassMetadataFactory is used to create ClassMetadata objects that contain all the metadata mapping informations of a class which describes how a class should be mapped to a relational database.

Namespace

Doctrine\Common\Persistence\Mapping

Code

public function getCacheDriver() {
  return $this->cacheDriver;
}