data)) { return $this->data[$key]; } throw new MadLispException("hash does not contain key $key"); } public function set(string $key, $value) { $this->data[$key] = $value; return $value; } }