<?php

namespace Tricks\MediaLibraryOverrides;

use Illuminate\Support\ServiceProvider;
use Spatie\MediaLibrary\ResponsiveImages\ResponsiveImageGenerator;
use Tricks\MediaLibraryOverrides\ResponsiveImages\WidthOnlyResponsiveImageGenerator;

class MediaLibraryOverridesServiceProvider extends ServiceProvider
{
    public function register(): void
    {
        $this->app->bind(ResponsiveImageGenerator::class, WidthOnlyResponsiveImageGenerator::class);
    }
}
