# wp-optimize/3.2.21/vendor/rosell-dk/webp-convert/src/Convert/Converters/ImagickBinary.php

WP-Optimize – Cache, Compress images, Minify &amp; Clean database to boost page speed &amp; performance, version 3.2.21. 29 lines.

- Page: https://pluginprobe.com/plugins/wp-optimize/3.2.21/code/vendor/rosell-dk/webp-convert/src/Convert/Converters/ImagickBinary.php
- Raw: https://pluginprobe.com/plugins/wp-optimize/3.2.21/raw/vendor/rosell-dk/webp-convert/src/Convert/Converters/ImagickBinary.php
- Modified: 2021-06-07T22:42:16+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-optimize/3.2.21/code/vendor/rosell-dk/webp-convert/src/Convert/Converters/ImagickBinary.php#L10-L20`.

```php
<?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 <it@rosell.dk>
 * @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();
    }
}

```
