* @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; } }