Your IP : 127.0.0.1


Current Path : /home/dev2.destoffenstraat.com/app/code/Amasty/ImportCore/Api/Source/
Upload File :
Current File : /home/dev2.destoffenstraat.com/app/code/Amasty/ImportCore/Api/Source/SourceGeneratorInterface.php

<?php
/**
 * @author Amasty Team
 * @copyright Copyright (c) Amasty (https://www.amasty.com)
 * @package Import Core for Magento 2 (System)
 */

namespace Amasty\ImportCore\Api\Source;

use Amasty\ImportCore\Import\Config\ProfileConfig;

interface SourceGeneratorInterface
{
    /**
     * Generate file content
     *
     * @param ProfileConfig $profileConfig
     * @param array $data
     * @return string
     */
    public function generate(ProfileConfig $profileConfig, array $data): string;

    /**
     * Get file extension
     *
     * @return string
     */
    public function getExtension(): string;
}