public function ContainerInterface::getParameter in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\DependencyInjectionCode
public function getParameter($name);