You are here

public function ParameterBag::clear in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php \Symfony\Component\DependencyInjection\ParameterBag\ParameterBag::clear()

Clears all parameters.

Overrides ParameterBagInterface::clear

1 method overrides ParameterBag::clear()
FrozenParameterBag::clear in vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php
Clears all parameters.

File

vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php, line 41

Class

ParameterBag
Holds parameters.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function clear() {
  $this->parameters = array();
}