'array', ]; public function put($key, $value) { $payload = $this->payload; $payload[$key] = $value; $this->payload = $payload; } public function get($key, $default = null) { return $this->payload[$key] ?? $default; } }