/** * @param string $offset * @param Entity $value * @return NULL */ public function offsetSet($offset, $value) { $this->data[$offset] = $value; return $this->selection->offsetSet($offset, $value->getData()); }