public function offsetSet($offset, $value)
    {
        if (!$this->isFetched) {
            $this->fetch();
        }

        if (is_null($offset)) {
            $this->models[] = $value;
        } else {
            $this->models[$offset] = $value;
        }
    }
public function offsetSet($offset, $value)
    {
        if (!$this->isFetched) {
            $this->fetch();
        }

        if (is_null($offset)) {
            $this->models[] = $value;
        } else {
            $this->models[$offset] = $value;
        }
    }
public function offsetSet ( $ offset , $ value ) { if ( ! $ this -> isFetched ) { $ this -> fetch ( ) ; } if ( is_null ( $ offset ) ) { $ this -> models [ ] = $ value ; } else { $ this -> models [ $ offset ] = $ value ; } }
Offset to set

@param mixed $offset - Offset name to set
@param mixed $value  - Value to set

@return void
Offset to set