public function getExtraKey($key, $default = null) { return array_key_exists($key, $this->extra) ? $this->extra[$key] : $default; }