function ContainerInterface::getParameter
Throws
ParameterNotFoundException if the parameter is not defined
2 methods override ContainerInterface::getParameter()
- Container::getParameter in core/
lib/ Drupal/ Component/ DependencyInjection/ Container.php - Container::getParameter in vendor/
symfony/ dependency-injection/ Container.php - Gets a parameter.
File
-
vendor/
symfony/ dependency-injection/ ContainerInterface.php, line 59
Class
- ContainerInterface
- ContainerInterface is the interface implemented by service container classes.
Namespace
Symfony\Component\DependencyInjectionCode
public function getParameter(string $name) : array|bool|string|int|float|\UnitEnum|null;