File "ImagickBinary.php"
Full Path: /var/www/html/wordpress/wp-content/plugins/wp-optimize/vendor/rosell-dk/webp-convert/src/Convert/Converters/ImagickBinary.php
File size: 732 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace WebPConvert\Convert\Converters;
use WebPConvert\Convert\Converters\AbstractConverter;
use WebPConvert\Convert\Exceptions\ConversionFailedException;
/**
* Non-functional converter, just here to tell you that it has been renamed.
*
* @package WebPConvert
* @author Bjørn Rosell <[email protected]>
* @since Class available since Release 2.0.0
*/
class ImagickBinary extends AbstractConverter
{
public function checkOperationality()
{
throw new ConversionFailedException(
'This converter has changed ID from "imagickbinary" to "imagemagick". You need to change!'
);
}
protected function doActualConvert()
{
$this->checkOperationality();
}
}