public function set($data, $batch = false) {
        $this->data  = $data;
        $this->batch = $batch;

        return $this;
    }
public function set($data, $batch = false) {
        $this->data  = $data;
        $this->batch = $batch;

        return $this;
    }
public function set ( $ data , $ batch = false ) { $ this -> data = $ data ; $ this -> batch = $ batch ; return $ this ; }
the data to be updated

@param array $data
@param bool  $batch

@return $this
the data to be updated