You are here

public function S3FileMapper::__construct in Acquia Content Hub 8.2

S3FileMapper constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

\Drupal\Core\File\FileSystemInterface $file_system: The drupal file system service.

\Drupal\acquia_contenthub_s3\S3FileMap $file_map: The s3 file map.

\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager service.

File

modules/acquia_contenthub_s3/src/S3FileMapper.php, line 62

Class

S3FileMapper
S3FileMapper for tracking S3 files.

Namespace

Drupal\acquia_contenthub_s3

Code

public function __construct(ConfigFactoryInterface $config_factory, FileSystemInterface $file_system, S3FileMap $file_map, StreamWrapperManagerInterface $stream_wrapper_manager) {
  $this->configFactory = $config_factory;
  $this->fileSystem = $file_system;
  $this->s3FileMap = $file_map;
  $this->swManager = $stream_wrapper_manager;
}