code: public function offsetSet($offset, $value) {
          if(!empty($this->parameters)) {
              $this->parameters->set($offset, $value);
          }
      }
docs: Offset to set
  @param mixed $offset
  @param mixed $value
  @return void