Created
February 2, 2016 14:16
-
-
Save gjuric/7e10e4874521da19dc60 to your computer and use it in GitHub Desktop.
Doctrine ORM Metadata Cache service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
protected function getDoctrineCache_Providers_Doctrine_Orm_DefaultMetadataCacheService() | |
{ | |
$this->services['doctrine_cache.providers.doctrine.orm.default_metadata_cache'] = $instance = new \Doctrine\Common\Cache\ApcCache(); | |
$instance->setNamespace('sf2orm_default_32698a00875dac44b2e177de4a61e9b868a21112a04f360ad75713c94e99d59c'); | |
return $instance; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment