function offsetUnset($offset) { if ($this->frozen) { throw new \Exception('QueryDict is frozen'); } return parent::offsetUnset($offset); }