public function set($key, $value) { if (!$this->prepareKey($key)) { return null; } return $this->data[$key] = $value; }