You are here

public function ImageAPIOptimizeProcessorBinaryBase::__construct in Image Optimize Binaries 8

File

src/ImageAPIOptimizeProcessorBinaryBase.php, line 34

Class

ImageAPIOptimizeProcessorBinaryBase
Base class for image optimizations that run local binaries.

Namespace

Drupal\imageapi_optimize_binaries

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, LoggerInterface $logger, ImageFactory $image_factory, FileSystemInterface $file_system, ImageAPIOptimizeShellOperationsInterface $shell_operations) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $logger, $image_factory);
  $this->fileSystem = $file_system;
  $this->shellOperations = $shell_operations;
}