services:
  _defaults:
    autowire: true
    public: false

  OxidEsales\MediaLibrary\Image\Service\ThumbnailGeneratorAggregateInterface:
    class: OxidEsales\MediaLibrary\Image\Service\ThumbnailGeneratorAggregate
    public: true
    arguments:
      $thumbnailGenerators:
        - '@OxidEsales\MediaLibrary\Image\ThumbnailGenerator\SvgDriver'
        - '@OxidEsales\MediaLibrary\Image\ThumbnailGenerator\InterventionDriver'
        - '@OxidEsales\MediaLibrary\Image\ThumbnailGenerator\DefaultDriver'

  OxidEsales\MediaLibrary\Image\Service\ThumbnailResourceInterface:
    class: OxidEsales\MediaLibrary\Image\Service\ThumbnailResource
    public: true

  OxidEsales\MediaLibrary\Image\Service\ThumbnailServiceInterface:
    class: OxidEsales\MediaLibrary\Image\Service\ThumbnailService
    public: true