* @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\DataCell; /** * Class DataCell defines a data cell of imported file. */ final class DataCell implements DataCellInterface { /** * @var string key of the data */ private $key; /** * @var string data value */ private $value; /** * @param string $key * @param string $value */ public function __construct($key, $value) { $this->key = $key; $this->value = $value; } /** * {@inheritdoc} */ public function getValue() { return $this->value; } /** * {@inheritdoc} */ public function getKey() { return $this->key; } }