src/Tomahawk/DependencyInjection/Container.php
public function offsetUnset($id)
    {
        if ($this->hasAlias($id)) {
            $alias = $id;
            $id = $this->getAlias($id);
            $this->removeAlias($alias);
        }

        if (isset($this->keys[$id])) {
            if (is_object($this->values[$id])) {
                unset($this->factories[$this->values[$id]], $this->protected[$this->values[$id]]);
            }

            unset($this->values[$id], $this->frozen[$id], $this->raw[$id], $this->keys[$id]);
        }
    }
public function offsetUnset($id)
    {
        if ($this->hasAlias($id)) {
            $alias = $id;
            $id = $this->getAlias($id);
            $this->removeAlias($alias);
        }

        if (isset($this->keys[$id])) {
            if (is_object($this->values[$id])) {
                unset($this->factories[$this->values[$id]], $this->protected[$this->values[$id]]);
            }

            unset($this->values[$id], $this->frozen[$id], $this->raw[$id], $this->keys[$id]);
        }
    }
Unsets a parameter or an object.

@param string $id The unique identifier for the parameter or object