function ParameterBagInterface::get
Gets a service container parameter.
Throws
ParameterNotFoundException if the parameter is not defined
1 method overrides ParameterBagInterface::get()
- ParameterBag::get in vendor/
symfony/ dependency-injection/ ParameterBag/ ParameterBag.php - Gets a service container parameter.
File
-
vendor/
symfony/ dependency-injection/ ParameterBag/ ParameterBagInterface.php, line 48
Class
- ParameterBagInterface
- ParameterBagInterface is the interface implemented by objects that manage service container parameters.
Namespace
Symfony\Component\DependencyInjection\ParameterBagCode
public function get(string $name) : array|bool|string|int|float|\UnitEnum|null;