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