public function offsetSet($offset, $value)
        {
            $get = $this->chaining
                ? 'chain'
                : 'current';
            $this->$get[$offset] = $value;
        }
public function offsetSet($offset, $value)
        {
            $get = $this->chaining
                ? 'chain'
                : 'current';
            $this->$get[$offset] = $value;
        }
public function offsetSet ( $ offset , $ value ) { $ get = $ this -> chaining ? 'chain' : 'current' ; $ this -> $ get [ $ offset ] = $ value ; }
Set an offset.

@param scalar $offset
@param mixed $value
Set an offset .