You are here

public function ContainerInterface::getParameter in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/ContainerInterface.php \Symfony\Component\DependencyInjection\ContainerInterface::getParameter()

Gets a parameter.

Parameters

string $name The parameter name:

Return value

mixed The parameter value

Throws

InvalidArgumentException if the parameter is not defined

2 methods override ContainerInterface::getParameter()
Container::getParameter in vendor/symfony/dependency-injection/Container.php
Gets a parameter.
Container::getParameter in core/lib/Drupal/Component/DependencyInjection/Container.php
Gets a parameter.

File

vendor/symfony/dependency-injection/ContainerInterface.php, line 74

Class

ContainerInterface
ContainerInterface is the interface implemented by service container classes.

Namespace

Symfony\Component\DependencyInjection

Code

public function getParameter($name);