You are here

public function ImagemagickFormatMapper::__construct in ImageMagick 8.3

Same name and namespace in other branches
  1. 8 src/ImagemagickFormatMapper.php \Drupal\imagemagick\ImagemagickFormatMapper::__construct()
  2. 8.2 src/ImagemagickFormatMapper.php \Drupal\imagemagick\ImagemagickFormatMapper::__construct()

Constructs an ImagemagickFormatMapper object.

Parameters

\Drupal\Core\Cache\CacheBackendInterface $cache_service: The cache service.

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

\Drupal\Core\Config\TypedConfigManagerInterface $typed_config: The typed config service.

\Drupal\sophron\MimeMapManagerInterface $mime_map_manager: The MIME map manager service.

File

src/ImagemagickFormatMapper.php, line 61

Class

ImagemagickFormatMapper
Provides the ImageMagick format mapper.

Namespace

Drupal\imagemagick

Code

public function __construct(CacheBackendInterface $cache_service, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config, MimeMapManagerInterface $mime_map_manager) {
  $this->cache = $cache_service;
  $this->configFactory = $config_factory;
  $this->typedConfig = $typed_config;
  $this->mimeMapManager = $mime_map_manager;
}