<?php

namespace NewsletterBridge\Services\ImgCDN;

interface CDN {
    
    /**
     * Get the CDN URL for the given image URL and arguments.
     *
     * @param string $url The original image URL.
     * @param array $args Optional arguments for generating the CDN URL.
     * @return string The generated CDN URL.
     */
    public function getUrl( string $url, array $args = [] ) : string;
}
