public function offsetSet($offset, $value) { throw new \BadMethodCallException(sprintf('Environmental information is immutable. Tried to set key "%s" with value "%s"', $offset, $value)); }