Your IP : 127.0.0.1


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

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

namespace Amasty\ImportCore\Api;

use Amasty\ImportCore\Api\Config\EntityConfigInterface;
use Amasty\ImportCore\Api\Config\ProfileConfigInterface;
use Magento\Framework\App\RequestInterface;

interface FormInterface
{
    /**
     * @param EntityConfigInterface $entityConfig
     * @param array $arguments
     * @return array
     */
    public function getMeta(EntityConfigInterface $entityConfig, array $arguments = []): array;

    /**
     * @param ProfileConfigInterface $profileConfig
     * @return array
     */
    public function getData(ProfileConfigInterface $profileConfig): array;

    /**
     * @param ProfileConfigInterface $profileConfig
     * @param RequestInterface $request
     * @return FormInterface
     */
    public function prepareConfig(
        ProfileConfigInterface $profileConfig,
        RequestInterface $request
    ): FormInterface;
}