ArrayWrapper.php
protected function set($key, $value)
    {
        if ($this->readonly) {
            throw new ContainerReadOnly($this);
        }
        if ($this->fixed && (!array_key_exists($key, $this->source))) {
            throw new FieldNotExist($key, $this);
        }
        $this->source[$key] = $value;
    }
protected function set($key, $value)
    {
        if ($this->readonly) {
            throw new ContainerReadOnly($this);
        }
        if ($this->fixed && (!array_key_exists($key, $this->source))) {
            throw new FieldNotExist($key, $this);
        }
        $this->source[$key] = $value;
    }
protected function set ( $ key , $ value ) { if ( $ this -> readonly ) { throw new ContainerReadOnly ( $ this ) ; } if ( $ this -> fixed && ( ! array_key_exists ( $ key , $ this -> source ) ) ) { throw new FieldNotExist ( $ key , $ this ) ; } $ this -> source [ $ key ] = $ value ; }
Sets an item value

@param string $key
@param mixed $value
@throws \axy\magic\errors\ContainerReadOnly
@throws \axy\magic\errors\FieldNotExist
Sets an item value