public function put($key, $value) { assert(is_string($key) || is_int($key)); $this->values[$key] = $value; }