<?php
namespace Magento\MediaGalleryCatalogIntegration\Plugin\SaveBaseCategoryImageInformation;

/**
 * Interceptor class for @see \Magento\MediaGalleryCatalogIntegration\Plugin\SaveBaseCategoryImageInformation
 */
class Interceptor extends \Magento\MediaGalleryCatalogIntegration\Plugin\SaveBaseCategoryImageInformation implements \Magento\Framework\Interception\InterceptorInterface
{
    use \Magento\Framework\Interception\Interceptor;

    public function __construct(\Magento\MediaGalleryApi\Api\DeleteAssetsByPathsInterface $deleteAssetsByPath, \Magento\Framework\Filesystem $filesystem, \Magento\MediaGalleryApi\Api\GetAssetsByPathsInterface $getAssetsByPaths, \Magento\Cms\Model\Wysiwyg\Images\Storage $storage, \Magento\MediaGallerySynchronizationApi\Api\SynchronizeFilesInterface $synchronizeFiles, \Magento\MediaGalleryUiApi\Api\ConfigInterface $config)
    {
        $this->___init();
        parent::__construct($deleteAssetsByPath, $filesystem, $getAssetsByPaths, $storage, $synchronizeFiles, $config);
    }

    /**
     * {@inheritdoc}
     */
    public function afterMoveFileFromTmp(\Magento\Catalog\Model\ImageUploader $subject, string $imagePath, string $initialImageName): string
    {
        $pluginInfo = $this->pluginList->getNext($this->subjectType, 'afterMoveFileFromTmp');
        return $pluginInfo ? $this->___callPlugins('afterMoveFileFromTmp', func_get_args(), $pluginInfo) : parent::afterMoveFileFromTmp($subject, $imagePath, $initialImageName);
    }
}
