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:
commit
a48c377a0f
@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user