Gets a parameter.
@api
Parameters
string $name The parameter name:
Return value
mixed The parameter value
Throws
InvalidArgumentException if the parameter is not defined
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerInterface.php, line 85
Class
- ContainerInterface
- ContainerInterface is the interface implemented by service container classes.
Namespace
Symfony\Component\DependencyInjection
Code
public function getParameter($name);