public function offsetSet($offset, $value) { if ($this->isNull($offset)) { $this->getValue()[] = $value; } else { $this->getValue()[$offset] = $value; } }