-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Doctrine Bridge] Added a method to load a cache definition #4153
Conversation
+1 for this PR. |
👍 |
* | ||
* @param array $objectManager A configured object manager. | ||
* @param ContainerBuilder $container A ContainerBuilder instance | ||
* @param string $cacheName |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should note that you throw \InvalidArgumentException
in case of unknown driver.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Can you add a note abou this change in the CHANGELOG? |
does it really need to be in the changelog ? End-users don't know about this at all. The only guys affected by this change are the maintainers of the different Doctrine bundles as they can remove some code now. |
@fabpot : done |
@bamarni can you also do a patch for the docs after this gets merged so that people know about this change and know how to use it? Thank you! |
@dlsniper : no problem ;) |
ping @beberlei |
Commits ------- a2b3d3c added cache service definition Discussion ---------- [Doctrine Bridge] Added a method to load a cache definition Bug fix: no Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes Fixes the following tickets: - Todo: - Following this discussion (doctrine/DoctrineBundle#62), this will let DoctrineBundle, MongodbBundle and CouchdbBundle share the same code for cache definitions. --------------------------------------------------------------------------- by dlsniper at 2012-04-30T06:56:49Z +1 for this PR. --------------------------------------------------------------------------- by stof at 2012-04-30T06:57:58Z :+1: --------------------------------------------------------------------------- by fabpot at 2012-04-30T15:41:05Z Can you add a note abou this change in the CHANGELOG? --------------------------------------------------------------------------- by stof at 2012-04-30T15:46:48Z does it really need to be in the changelog ? End-users don't know about this at all. The only guys affected by this change are the maintainers of the different Doctrine bundles as they can remove some code now. --------------------------------------------------------------------------- by fabpot at 2012-04-30T16:41:21Z @stof: right @bamarni: Can you squash your commits? --------------------------------------------------------------------------- by bamarni at 2012-04-30T17:03:38Z @fabpot : done --------------------------------------------------------------------------- by dlsniper at 2012-04-30T17:22:07Z @bamarni can you also do a patch for the docs after this gets merged so that people know about this change and know how to use it? Thank you! --------------------------------------------------------------------------- by bamarni at 2012-04-30T17:29:05Z @dlsniper : no problem ;) --------------------------------------------------------------------------- by fabpot at 2012-04-30T18:29:03Z ping @beberlei
Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: -
Todo: -
Following this discussion (doctrine/DoctrineBundle#62), this will let DoctrineBundle, MongodbBundle and CouchdbBundle share the same code for cache definitions.