Robbo\Presenter\Presenter::offsetUnset PHP Méthode

offsetUnset() public méthode

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