public function getParameter($key)
{
$parameters = $this->getParameters();
if (!isset($parameters[$key])) {
throw new ParameterNotFoundException("Parameter '{$key}' not found in stack '{$this->getName()}'");
}
if ($parameters[$key] == '****') {
throw new \Exception("Trying to retrieve a 'NoEcho' value (Key: '{$key}')");
}
return $parameters[$key];
}