code: public function offsetSet($offset, $value)
      {
          $sm = $this->getSharedMemory();
          $sm->offsetSet($offset, $value);
      }
docs: (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