You are here

public function AuditFilesNotInDatabaseBatchProcess::__construct in Audit Files 8.3

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

Class constructor.

Parameters

\Drupal\auditfiles\ServiceAuditFilesNotInDatabase $not_in_database: Injected ServiceAuditFilesUsedNotManaged service.

string $file_name: File name to process.

File

src/Batch/AuditFilesNotInDatabaseBatchProcess.php, line 36

Class

AuditFilesNotInDatabaseBatchProcess
Process batch files.

Namespace

Drupal\auditfiles\Batch

Code

public function __construct(ServiceAuditFilesNotInDatabase $not_in_database, $file_name) {
  $this->notInDatabase = $not_in_database;
  $this->fileName = $file_name;
}