public function ProjectServiceContainer::getParameterBag

Gets the service container parameter bag.

@api

Return value

ParameterBagInterface A ParameterBagInterface instance

Overrides Container::getParameterBag

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services10.php, line 84

Class

ProjectServiceContainer
ProjectServiceContainer

Code

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