protected function update($id, $instanceName, $content)
    {
        $this->getConnection()->table($this->getTableName())
            ->where('id', $id)
            ->where('instance', $instanceName)
            ->update(['content' => $content]);
    }
protected function update($id, $instanceName, $content)
    {
        $this->getConnection()->table($this->getTableName())
            ->where('id', $id)
            ->where('instance', $instanceName)
            ->update(['content' => $content]);
    }
protected function update ( $ id , $ instanceName , $ content ) { $ this -> getConnection ( ) -> table ( $ this -> getTableName ( ) ) -> where ( 'id' , $ id ) -> where ( 'instance' , $ instanceName ) -> update ( [ 'content' => $ content ] ) ; }
Update shopping cart instance.

@param $id
@param $instanceName
@param $content
Update shopping cart instance .