Skip to content
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

Merged
merged 1 commit into from
May 10, 2012
Merged

[Doctrine Bridge] Added a method to load a cache definition #4153

merged 1 commit into from
May 10, 2012

Conversation

bamarni
Copy link
Contributor

@bamarni bamarni commented Apr 29, 2012

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.

@dlsniper
Copy link
Contributor

+1 for this PR.

@stof
Copy link
Member

stof commented Apr 30, 2012

👍

*
* @param array $objectManager A configured object manager.
* @param ContainerBuilder $container A ContainerBuilder instance
* @param string $cacheName
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@fabpot
Copy link
Member

fabpot commented Apr 30, 2012

Can you add a note abou this change in the CHANGELOG?

@stof
Copy link
Member

stof commented Apr 30, 2012

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
Copy link
Member

fabpot commented Apr 30, 2012

@stof: right

@bamarni: Can you squash your commits?

@bamarni
Copy link
Contributor Author

bamarni commented Apr 30, 2012

@fabpot : done

@dlsniper
Copy link
Contributor

@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!

@bamarni
Copy link
Contributor Author

bamarni commented Apr 30, 2012

@dlsniper : no problem ;)

@fabpot
Copy link
Member

fabpot commented Apr 30, 2012

ping @beberlei

fabpot added a commit that referenced this pull request May 10, 2012
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
@fabpot fabpot merged commit a2b3d3c into symfony:master May 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants