private function displayBatchInfo($batch)
    {
        if ($batch['Status'] == 'Completed') {
            return sprintf('batch %s is Completed, %d operations %s', $batch['JobID'], $batch['Count'], $batch['Error']);
        } else {
            return sprintf('batch %s, current status %s, %d operations %s', $batch['JobID'], $batch['Status'], $batch['Count'], $batch['Error']);
        }
    }
private function displayBatchInfo($batch)
    {
        if ($batch['Status'] == 'Completed') {
            return sprintf('batch %s is Completed, %d operations %s', $batch['JobID'], $batch['Count'], $batch['Error']);
        } else {
            return sprintf('batch %s, current status %s, %d operations %s', $batch['JobID'], $batch['Status'], $batch['Count'], $batch['Error']);
        }
    }
private function displayBatchInfo ( $ batch ) { if ( $ batch [ 'Status' ] == 'Completed' ) { return sprintf ( 'batch %s is Completed, %d operations %s' , $ batch [ 'JobID' ] , $ batch [ 'Count' ] , $ batch [ 'Error' ] ) ; } else { return sprintf ( 'batch %s, current status %s, %d operations %s' , $ batch [ 'JobID' ] , $ batch [ 'Status' ] , $ batch [ 'Count' ] , $ batch [ 'Error' ] ) ; } }
Pretty display of batch info
@param array $batch
@return string
Pretty display of batch info