Robbo\Presenter\Presenter::offsetUnset PHP Method

offsetUnset() public method

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