| Current Path : /home/rtorresani/www/vendor/magento/module-media-gallery-metadata-api/Model/ |
| Current File : //home/rtorresani/www/vendor/magento/module-media-gallery-metadata-api/Model/WriteFileInterface.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\MediaGalleryMetadataApi\Model;
use Magento\Framework\Exception\FileSystemException;
use Magento\Framework\Exception\LocalizedException;
/**
* File writer
* @api
*/
interface WriteFileInterface
{
/**
* Write file to filesystem
*
* @param FileInterface $file
* @throws LocalizedException
* @throws FileSystemException
*/
public function execute(FileInterface $file): void;
}