]> _ Git - cubist_util.git/commitdiff
wip #5410
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 22 Aug 2022 18:08:07 +0000 (20:08 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 22 Aug 2022 18:08:07 +0000 (20:08 +0200)
src/Data.php

index 1bb8f9e557e616ef572cbf268e7582599d7f8116..c481df209ffe87b6d0bd52ddbd9ec395f6a26859 100644 (file)
@@ -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);