You are here

public function ServiceAuditFilesNotInDatabase::__construct in Audit Files 8.2

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

Define constructor for string translation.

File

src/ServiceAuditFilesNotInDatabase.php, line 106

Class

ServiceAuditFilesNotInDatabase
Define all methods that are used on Files not in database functionality.

Namespace

Drupal\auditfiles

Code

public function __construct(TranslationInterface $translation, ConfigFactoryInterface $config_factory, Connection $connection, StreamWrapperManager $stream_wrapper_manager, FileSystemInterface $file_system, AccountProxy $current_user, MimeTypeGuesser $file_mime_type_guesser, TimeInterface $time, UuidInterface $uuid, DateFormatter $date_formatter, EntityTypeManagerInterface $entity_type_manager) {
  $this->stringTranslation = $translation;
  $this->configFactory = $config_factory;
  $this->connection = $connection;
  $this->streamWrapperManager = $stream_wrapper_manager;
  $this->fileSystem = $file_system;
  $this->currentUser = $current_user;
  $this->fileMimeTypeGuesser = $file_mime_type_guesser;
  $this->time = $time;
  $this->uuidService = $uuid;
  $this->dateFormatter = $date_formatter;
  $this->entityTypeManager = $entity_type_manager;
}