public function toHash(SPIValue $value) { if ($this->isEmptyValue($value)) { return null; } return $value->value; }