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

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

        return $this->hashConverter->convertFromValue($value);
    }
public function toHash ( SPIValue $ value ) { if ( $ this -> isEmptyValue ( $ value ) ) { return null ; } return $ this -> hashConverter -> convertFromValue ( $ value ) ; }
Converts a Value to a hash.

@param \eZ\Publish\Core\FieldType\Page\Value $value

@return mixed
Converts a Value to a hash .