public function ContainerInterface::getParameter

Gets a parameter.

@api

Parameters

string $name The parameter name:

Return value

mixed The parameter value

Throws

InvalidArgumentException if the parameter is not defined

1 method overrides ContainerInterface::getParameter()
Container::getParameter in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php
Gets a parameter.

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerInterface.php, line 85

Class

ContainerInterface
ContainerInterface is the interface implemented by service container classes.

Namespace

Symfony\Component\DependencyInjection

Code

public function getParameter($name);