public function getParam($name) { return isset($this->params[$name]) ? $this->params[$name] : null; }