From: Vincent Vanwaelscappel Date: Mon, 22 Aug 2022 18:08:07 +0000 (+0200) Subject: wip #5410 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=bbc6a1884edcdc5a700a3686ca719adfcb0d7d11;p=cubist_util.git wip #5410 --- diff --git a/src/Data.php b/src/Data.php index 1bb8f9e..c481df2 100644 --- a/src/Data.php +++ b/src/Data.php @@ -36,6 +36,11 @@ class Data implements \ArrayAccess Arr::set($this->_data, $this->_offset($offset), $this->_fixValue($value)); } + public function setRaw($key, $value) + { + $this->_data[$key] = $value; + } + protected static function square_brackets_to_dots($string) { return str_replace(['[', ']'], ['.', ''], $string);