Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DependencyInjection] Added ParameterBagInterface::remove #15219

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

Merged
merged 1 commit into from
Jul 14, 2015

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Jul 7, 2015

Q A
Bug fix? kinda
New feature? no
BC breaks? only between 2.X and 3.X, this PR target 3.X
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

I created this PR because the method is implemented in ParameterBag but is not declared in the interface.

@linaori
Copy link
Contributor

linaori commented Jul 7, 2015

Is it possible to add a removeParameter method in the ContainerBuilder or is that out of this scope?

@lyrixx
Copy link
Member Author

lyrixx commented Jul 7, 2015

Is it possible to add a removeParameter method in the ContainerBuilder or is that out of this scope?

I guess it's out of this scope

@mickaelandrieu
Copy link
Contributor

@lyrixx what is the gain ? This sound like a free BC for no gain.

@lyrixx
Copy link
Member Author

lyrixx commented Jul 8, 2015

@mickaelandrieu Now, we can be sure the method exist before calling it.

@fabpot
Copy link
Member

fabpot commented Jul 14, 2015

Thank you @lyrixx.

@fabpot fabpot merged commit c13a4ff into symfony:master Jul 14, 2015
fabpot added a commit that referenced this pull request Jul 14, 2015
…ove (lyrixx)

This PR was merged into the 3.0-dev branch.

Discussion
----------

[DependencyInjection] Added ParameterBagInterface::remove

| Q             | A
| ------------- | ---
| Bug fix?      | kinda
| New feature?  | no
| BC breaks?    | only between 2.X and 3.X, this PR target 3.X
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

I created this PR because the method is implemented in `ParameterBag` but is not declared in the interface.

Commits
-------

c13a4ff [DependencyInjection] Added ParameterBagInterface::remove
@lyrixx lyrixx deleted the param-bag-remove branch July 14, 2015 15:59
@xabbuh
Copy link
Member

xabbuh commented Jul 14, 2015

This should be documented in the upgrade file.

xabbuh added a commit to xabbuh/symfony that referenced this pull request Jul 15, 2015
This commit documents the addition of the `remove()` method to the
`ParameterBagInterface` which was done in symfony#15219.
@xabbuh
Copy link
Member

xabbuh commented Jul 15, 2015

see #15286

@mickaelandrieu
Copy link
Contributor

@xabbuh 👍 thank you.

fabpot added a commit that referenced this pull request Jul 15, 2015
…cs (xabbuh)

This PR was merged into the 3.0-dev branch.

Discussion
----------

[DependencyInjection] mention added method in upgrade docs

| Q             | A
| ------------- | ---
| Fixed tickets | #15219
| License       | MIT

This commit documents the addition of the `remove()` method to the
`ParameterBagInterface` which was done in #15219.

Commits
-------

706d1a8 mention added method in upgrade docs
@fabpot fabpot mentioned this pull request Nov 16, 2015
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.

5 participants