public function offsetSet($offset, $value) {
    if (NULL === $offset) {
      $this->container[] = [$value, NULL];
      return;
    }
    $this->container[$this->getHash($offset)] = [$value, $offset];
  }
public function offsetSet($offset, $value) {
    if (NULL === $offset) {
      $this->container[] = [$value, NULL];
      return;
    }
    $this->container[$this->getHash($offset)] = [$value, $offset];
  }
public function offsetSet ( $ offset , $ value ) { if ( NULL === $ offset ) { $ this -> container [ ] = [ $ value , NULL ] ; return ; } $ this -> container [ $ this -> getHash ( $ offset ) ] = [ $ value , $ offset ] ; }
Store the given key and value into the container, and its hash to the
hashes list.
@param mixed $offset
@param mixed $value
Store the given key and value into the container and its hash to the hashes list .