public function setBatch(\MUtil_Task_TaskBatch $batch)
    {
        parent::setBatch($batch);

        $this->_file = $batch->getVariable('file');

        return $this;
    }
public function setBatch(\MUtil_Task_TaskBatch $batch)
    {
        parent::setBatch($batch);

        $this->_file = $batch->getVariable('file');

        return $this;
    }
public function setBatch ( \ MUtil_Task_TaskBatch $ batch ) { parent :: setBatch ( $ batch ) ; $ this -> _file = $ batch -> getVariable ( 'file' ) ; return $ this ; }
Sets the batch this task belongs to

This method will be called from the \Gems_Task_TaskRunnerBatch upon execution of the
task. It allows the task to communicate with the batch queue.

@param \MUtil_Task_TaskBatch $batch
@return \MUtil_Task_TaskInterface (continuation pattern)
Sets the batch this task belongs to