public function getParameter($name, $default = NULL) { if (isset($this->params[$name])) { return $this->params[$name]; } else { return $default; } }