data[$key] = $value; return $this; } /** * @param $key * @return bool */ public function exists($key) { return isset($this->data[$key]); } /** * @param $key */ public function remove($key) { unset($this->data[$key]); } /** * @param $key * @return mixed */ public function get($key) { return $this->data[$key]; } }