Collections\Dictionary::delete PHP 메소드

delete() 공개 메소드

public delete ( $key )
    public function delete($key)
    {
        $storage = $this->storage;
        if (array_key_exists($key, $this->storage)) {
            unset($storage[$key]);
        }
        return new static($this->keyType, $this->valType, $storage);
    }