Created
July 15, 2015 10:45
-
-
Save skolman/3eed41f1acf5badb367c to your computer and use it in GitHub Desktop.
doctrine: second level cache
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
/** | |
* Loads an ORM second level cache bundle mapping information. | |
* | |
* @example | |
* entity_managers: | |
* default: | |
* second_level_cache: | |
* region_cache_driver: apc | |
* log_enabled: true | |
* regions: | |
* my_service_region: | |
* type: service | |
* service : "my_service_region" | |
* | |
* my_query_region: | |
* lifetime: 300 | |
* cache_driver: array | |
* type: filelock | |
* | |
* my_entity_region: | |
* lifetime: 600 | |
* cache_driver: | |
* type: apc | |
* | |
* @param array $entityManager A configured ORM entity manager | |
* @param Definition $ormConfigDef A Definition instance | |
* @param ContainerBuilder $container A ContainerBuilder instance | |
*/ | |
protected function loadOrmSecondLevelCache(array $entityManager, Definition $ormConfigDef, ContainerBuilder $container){}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment