public function update($sessionEntity, $data)
    {
        return $this->storageManager->update(
            $data,
            [
                $this->options->getIdColumn()   => $this->getIdValue($sessionEntity),
                $this->options->getNameColumn() => $this->getNameValue($sessionEntity)
            ]
        );
    }
public function update($sessionEntity, $data)
    {
        return $this->storageManager->update(
            $data,
            [
                $this->options->getIdColumn()   => $this->getIdValue($sessionEntity),
                $this->options->getNameColumn() => $this->getNameValue($sessionEntity)
            ]
        );
    }
public function update ( $ sessionEntity , $ data ) { return $ this -> storageManager -> update ( $ data , [ $ this -> options -> getIdColumn ( ) => $ this -> getIdValue ( $ sessionEntity ) , $ this -> options -> getNameColumn ( ) => $ this -> getNameValue ( $ sessionEntity ) ] ) ; }
Update a record.

@param mixed $sessionEntity
@param array $data

@return mixed
Update a record .