You are here

public function AuditFilesNotOnServerBatchProcess::__construct in Audit Files 8.3

Same name and namespace in other branches
  1. 4.x src/Batch/AuditFilesNotOnServerBatchProcess.php \Drupal\auditfiles\Batch\AuditFilesNotOnServerBatchProcess::__construct()

Class constructor.

Parameters

\Drupal\auditfiles\ServiceAuditFilesNotOnServer $not_on_server: Injected ServiceAuditFilesNotOnServer service.

int $file_id: File entity ID to delete.

File

src/Batch/AuditFilesNotOnServerBatchProcess.php, line 36

Class

AuditFilesNotOnServerBatchProcess
Process batch files.

Namespace

Drupal\auditfiles\Batch

Code

public function __construct(ServiceAuditFilesNotOnServer $not_on_server, $file_id) {
  $this->notOnServer = $not_on_server;
  $this->fileId = $file_id;
}