You are here

public static function ImagemagickIdentify::create in ImageMagick 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/FileMetadata/ImagemagickIdentify.php \Drupal\imagemagick\Plugin\FileMetadata\ImagemagickIdentify::create()

File

src/Plugin/FileMetadata/ImagemagickIdentify.php, line 70

Class

ImagemagickIdentify
FileMetadata plugin for ImageMagick's identify results.

Namespace

Drupal\imagemagick\Plugin\FileMetadata

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('cache.file_mdm'), $container
    ->get('config.factory'), $container
    ->get('imagemagick.exec_manager'), $container
    ->get('event_dispatcher'), $container
    ->get('stream_wrapper_manager'));
}