Файл: vendor/intervention/image/src/Drivers/SpecializableDecoder.php
Строк: 42
<?php
declare(strict_types=1);
namespace InterventionImageDrivers;
use InterventionImageExceptionsDecoderException;
use InterventionImageInterfacesColorInterface;
use InterventionImageInterfacesImageInterface;
use InterventionImageInterfacesSpecializableInterface;
use InterventionImageTraitsCanBeDriverSpecialized;
abstract class SpecializableDecoder extends AbstractDecoder implements SpecializableInterface
{
use CanBeDriverSpecialized;
/**
* {@inheritdoc}
*
* @see DecoderInterface::decode()
*/
public function decode(mixed $input): ImageInterface|ColorInterface
{
throw new DecoderException('Decoder must be specialized by the driver first.');
}
}