src/ImageStack/ImageManipulator/OptimizerImageManipulator.php
public function registerImageOptimizer(ImageOptimizerInterface $imageOptimizer)
	{
	    foreach ($imageOptimizer->getSupportedMimeTypes() as $mimeType) {
	        $this->imageOptimizers[$mimeType][] = $imageOptimizer;
	    }
	}
public function registerImageOptimizer(ImageOptimizerInterface $imageOptimizer)
	{
	    foreach ($imageOptimizer->getSupportedMimeTypes() as $mimeType) {
	        $this->imageOptimizers[$mimeType][] = $imageOptimizer;
	    }
	}
public function registerImageOptimizer ( ImageOptimizerInterface $ imageOptimizer ) { foreach ( $ imageOptimizer -> getSupportedMimeTypes ( ) as $ mimeType ) { $ this -> imageOptimizers [ $ mimeType ] [ ] = $ imageOptimizer ; } }
Register an image optimizer.
@param string $mimeType
@param ImageOptimizerInterface $imageOptimizer
Register an image optimizer .