| Current Path : /var/www/magento.test.indacotrentino.com/www/app/code/Amasty/ImportCore/Api/ |
| Current File : /var/www/magento.test.indacotrentino.com/www/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;
}