public function offsetGet($name) { if ($this->offsetExists($name)) { return $this->data[$name]; } throw ContextValueNotSetException::for_name($name, 'read'); }