src/Valuestore.php
public function forget(string $key)
    {
        $newContent = $this->all();

        unset($newContent[$key]);

        $this->setContent($newContent);

        return $this;
    }
public function forget(string $key)
    {
        $newContent = $this->all();

        unset($newContent[$key]);

        $this->setContent($newContent);

        return $this;
    }
public function forget ( string $ key ) { $ newContent = $ this -> all ( ) ; unset ( $ newContent [ $ key ] ) ; $ this -> setContent ( $ newContent ) ; return $ this ; }
Forget a value from the store.

@param string $key

@return $this
Forget a value from the store .