public function offsetUnset($offset)
    {
        if (is_array($this->object)) {
            unset($this->object[$offset]);

            return;
        }

        unset($this->object->$offset);
    }
public function offsetUnset($offset)
    {
        if (is_array($this->object)) {
            unset($this->object[$offset]);

            return;
        }

        unset($this->object->$offset);
    }
public function offsetUnset ( $ offset ) { if ( is_array ( $ this -> object ) ) { unset ( $ this -> object [ $ offset ] ) ; return ; } unset ( $ this -> object -> $ offset ) ; }
Unset a variable or key value using array access.

@param mixed $offset
Unset a variable or key value using array access .