feature #15219 [DependencyInjection] Added ParameterBagInterface::remove (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
This commit is contained in:
Fabien Potencier 2015-07-14 08:56:30 +02:00
commit a48c377a0f
1 changed files with 7 additions and 0 deletions

View File

@ -60,6 +60,13 @@ interface ParameterBagInterface
*/
public function get($name);
/**
* Removes a parameter.
*
* @param string $name The parameter name
*/
public function remove($name);
/**
* Sets a service container parameter.
*