You are here

public function ServiceAuditFilesNotOnServer::__construct in Audit Files 8.2

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

Define constructor for string translation.

File

src/ServiceAuditFilesNotOnServer.php, line 52

Class

ServiceAuditFilesNotOnServer
Providing the service that used in not in database functionality.

Namespace

Drupal\auditfiles

Code

public function __construct(TranslationInterface $translation, ConfigFactory $config_factory, Connection $connection, DateFormatter $date_formatter, FileSystemInterface $file_system) {
  $this->stringTranslation = $translation;
  $this->configFactory = $config_factory;
  $this->connection = $connection;
  $this->dateFormatter = $date_formatter;
  $this->fileSystem = $file_system;
}