You are here

public function ImagemagickMimeTypeMapper::__construct in ImageMagick 8.2

Constructs an ImagemagickMimeTypeMapper object.

Parameters

\Symfony\Component\HttpFoundation\File\MimeType\MimeTypeGuesserInterface $extension_mimetype_guesser: The extension MIME type guesser.

File

src/ImagemagickMimeTypeMapper.php, line 37

Class

ImagemagickMimeTypeMapper
Maps MIME types to file extensions.

Namespace

Drupal\imagemagick

Code

public function __construct(MimeTypeGuesserInterface $extension_mimetype_guesser) {
  $this->mimeTypeGuesser = $extension_mimetype_guesser;
}