public function getParam($id, $default = null) { return isset($this->parameters[$id]) ? $this->parameters[$id] : $default; }