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
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);