* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Import\File\DataRow; use ArrayAccess; use IteratorAggregate; /** * Interface DataRowCollectionInterface describes a collection of data rows. */ interface DataRowCollectionInterface extends ArrayAccess, IteratorAggregate { /** * Add a data row to this collection. * * @param DataRowInterface $dataRow * * @return self */ public function addDataRow(DataRowInterface $dataRow); /** * Get the number of cells in the largest row of collection. * * @return int */ public function getLargestRowSize(); }