src/Ko/SharedMemory.php
public function offsetSet($offset, $value)
    {
        $task = function() use ($offset,$value) {
            shm_put_var($this->id, $this->getKey($offset), $value);
        };

        $this->lockExecute($task);
    }
public function offsetSet($offset, $value)
    {
        $task = function() use ($offset,$value) {
            shm_put_var($this->id, $this->getKey($offset), $value);
        };

        $this->lockExecute($task);
    }
public function offsetSet ( $ offset , $ value ) { $ task = function ( ) use ( $ offset , $ value ) { shm_put_var ( $ this -> id , $ this -> getKey ( $ offset ) , $ value ) ; } ; $ this -> lockExecute ( $ task ) ; }
(PHP 5 &gt;= 5.0.0)<br/>
Offset to set
@link http://php.net/manual/en/arrayaccess.offsetset.php

@param mixed $offset <p>
The offset to assign the value to.
</p>
@param mixed $value <p>
The value to set.
</p>

@return void
( PHP 5 &gt ; = 5 . 0 . 0 ) <br / > Offset to set @link http : // php . net / manual / en / arrayaccess . offsetset . php