8000 feature #15219 [DependencyInjection] Added ParameterBagInterface::rem… · symfony/symfony@a48c377 · GitHub
[go: up one dir, main page]

Skip to content

Commit a48c377

Browse files
committed
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
2 parents b9b5c74 + c13a4ff commit a48c377

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line chang 8000 e
@@ -60,6 +60,13 @@ public function all();
6060
*/
6161
public function get($name);
6262

63+
/**
64+
* Removes a parameter.
65+
*
66+
* @param string $name The parameter name
67+
*/
68+
public function remove($name);
69+
6370
/**
6471
* Sets a service container parameter.
6572
*

0 commit comments

Comments
 (0)
0