parameters[$key] ?? $default; } public function has($key) { return array_key_exists($key, $this->parameters); } }