You are here

public function ProjectServiceContainer::getParameterBag in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/dependency-injection/Tests/Fixtures/php/services9_compiled.php \ProjectServiceContainer::getParameterBag()
  2. 8 vendor/symfony/dependency-injection/Tests/Fixtures/php/services12.php \ProjectServiceContainer::getParameterBag()
  3. 8 vendor/symfony/dependency-injection/Tests/Fixtures/php/services10.php \ProjectServiceContainer::getParameterBag()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/Tests/Fixtures/php/services9_compiled.php \ProjectServiceContainer::getParameterBag()
  2. 8.0 vendor/symfony/dependency-injection/Tests/Fixtures/php/services12.php \ProjectServiceContainer::getParameterBag()
  3. 8.0 vendor/symfony/dependency-injection/Tests/Fixtures/php/services10.php \ProjectServiceContainer::getParameterBag()

File

vendor/symfony/dependency-injection/Tests/Fixtures/php/services10.php, line 97

Class

ProjectServiceContainer
ProjectServiceContainer.

Code

public function getParameterBag() {
  if (null === $this->parameterBag) {
    $this->parameterBag = new FrozenParameterBag($this->parameters);
  }
  return $this->parameterBag;
}