// Load custom namespace for doctrine cache provider, if provided
if (isset($options['cacheNamespace'
])) { $this->cacheNamespace =
$options['cacheNamespace'
];
} if (isset($options['cacheProvider'
])) { $this->
setCacheProvider($options);
} if ($this->
getMetadataCacheImpl() === null
) { $this->
setCacheResource($cache);
} } /**
* @return Configuration
*/
public function setCache(CacheProvider
$cache) { // Set namespace for doctrine cache provider to avoid collisions
$namespace =
$this->cacheNamespace !== null ?
$this->cacheNamespace :
md5( $this->
getProxyDir() .
$this->release->
getRevision() );