Skip to content

Commit

Permalink
feature #15219 [DependencyInjection] Added ParameterBagInterface::rem…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
fabpot committed Jul 14, 2015
2 parents b9b5c74 + c13a4ff commit a48c377
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -60,6 +60,13 @@ public function all();
*/
public function get($name);

/**
* Removes a parameter.
*
* @param string $name The parameter name
*/
public function remove($name);

/**
* Sets a service container parameter.
*
Expand Down

0 comments on commit a48c377

Please sign in to comment.