public function ParameterBagInterface::get

Gets a service container parameter.

@api

Parameters

string $name The parameter name:

Return value

mixed The parameter value

Throws

ParameterNotFoundException if the parameter is not defined

1 method overrides ParameterBagInterface::get()
ParameterBag::get in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ParameterBag/ParameterBag.php
Gets a service container parameter.

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php, line 61

Class

ParameterBagInterface
ParameterBagInterface.

Namespace

Symfony\Component\DependencyInjection\ParameterBag

Code

public function get($name);