<?php
declare(strict_types=1);
namespace InterventionImageInterfaces;
use InterventionImageExceptionsRuntimeException;
interface EncoderInterface
{
/**
* Encode given image
*
* @param ImageInterface $image
* @throws RuntimeException
* @return EncodedImageInterface
*/
public function encode(ImageInterface $image): EncodedImageInterface;
}