lib/ContainerArray.php
public function offsetSet($key, $value) {

        if (strpos($key, '/')) {

            $keys = explode('/', $key);
            $mem  = $this->props;

            foreach($keys as $keyname) {

                if (!isset($mem[$keyname])) {
                    $mem[$keyname] = new ArrayObject([]);
                }

                $mem = &$mem[$keyname];
            }

            $mem = $value;

        } else {
            $this->props[$key] = $value;
        }
    }
public function offsetSet($key, $value) {

        if (strpos($key, '/')) {

            $keys = explode('/', $key);
            $mem  = $this->props;

            foreach($keys as $keyname) {

                if (!isset($mem[$keyname])) {
                    $mem[$keyname] = new ArrayObject([]);
                }

                $mem = &$mem[$keyname];
            }

            $mem = $value;

        } else {
            $this->props[$key] = $value;
        }
    }
public function offsetSet ( $ key , $ value ) { if ( strpos ( $ key , '/' ) ) { $ keys = explode ( '/' , $ key ) ; $ mem = $ this -> props ; foreach ( $ keys as $ keyname ) { if ( ! isset ( $ mem [ $ keyname ] ) ) { $ mem [ $ keyname ] = new ArrayObject ( [ ] ) ; } $ mem = & $ mem [ $ keyname ] ; } $ mem = $ value ; } else { $ this -> props [ $ key ] = $ value ; } }
Array Access implementation
Array Access implementation