protected function delete(string $key): void
    {
        $this->resolver()->where('id', '=', $this->getKeyId($key))->delete();
    }
protected function delete(string $key): void
    {
        $this->resolver()->where('id', '=', $this->getKeyId($key))->delete();
    }
protected function delete ( string $ key ) : void { $ this -> resolver ( ) -> where ( 'id' , '=' , $ this -> getKeyId ( $ key ) ) -> delete ( ) ; }
Remove data from database.

@param  string  $key

@return void
Remove data from database .