From bbc6a1884edcdc5a700a3686ca719adfcb0d7d11 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 22 Aug 2022 20:08:07 +0200 Subject: [PATCH] wip #5410 --- src/Data.php | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.39.5