Gets a parameter.
@api
string $name The parameter name:
mixed The parameter value
InvalidArgumentException if the parameter is not defined
Overrides Container::getParameter
public function getParameter($name) {
$name = strtolower($name);
if (!array_key_exists($name, $this->parameters)) {
throw new InvalidArgumentException(sprintf('The parameter "%s" must be defined.', $name));
}
return $this->parameters[$name];
}