/home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Export/Data
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Export/Data/ExportableData.php (1818B)
* @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\Export\Data;
/**
* Class ExportableData stores data that should be written to export file.
*/
final class ExportableData implements ExportableDataInterface
{
/**
* @var string[]
*/
private $titles;
/**
* @var array
*/
private $rows;
/**
* @param string[] $titles
* @param array $rows
*/
public function __construct(array $titles, array $rows)
{
$this->titles = $titles;
$this->rows = $rows;
}
/**
* {@inheritdoc}
*/
public function getTitles()
{
return $this->titles;
}
/**
* {@inheritdoc}
*/
public function getRows()
{
return $this->rows;
}
}