| Current Path : /var/www/www.indacotrentino.com/www/app/code/Amasty/ImportCore/Api/Source/ |
| Current File : /var/www/www.indacotrentino.com/www/app/code/Amasty/ImportCore/Api/Source/SourceReaderInterface.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\Api\ImportProcessInterface;
interface SourceReaderInterface
{
/**
* Initialize source reader
*
* @param ImportProcessInterface $importProcess
* @return void
*/
public function initialize(ImportProcessInterface $importProcess);
/**
* Returns array with row data or false if end of file reached
* @return array|bool
*/
public function readRow();
/**
* @return int
*/
public function estimateRecordsCount(): int;
}