Beispiel #1
0
 /**
  * Converts a Value to a hash.
  *
  * @param \eZ\Publish\Core\FieldType\Page\Value $value
  *
  * @return mixed
  */
 public function toHash(SPIValue $value)
 {
     if ($this->isEmptyValue($value)) {
         return null;
     }
     return $this->hashConverter->convertFromValue($value);
 }