<?php

namespace App\Contracts;

use Mtc\ContentManager\Contracts\Media;

interface ExternalMediaUrlProvider
{
    /**
     * Generate URL for external $media file $size dimensions
     *
     * @param Media $media
     * @param string $size
     * @return string
     */
    public function url(Media $media, string $size): string;
}
