public function offsetSet($offset, $value) { parent::offsetSet($offset, $value); $_SESSION[$offset] = $value; }