public function ParameterBagInterface::get in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/ParameterBag/ParameterBagInterface.php \Symfony\Component\DependencyInjection\ParameterBag\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 modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ParameterBag/ ParameterBag.php - Gets a service container parameter.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ ParameterBag/ ParameterBagInterface.php, line 61
Class
- ParameterBagInterface
- ParameterBagInterface.
Namespace
Symfony\Component\DependencyInjection\ParameterBagCode
public function get($name);