Lines Matching refs:value
27 $value = parent::toStoreValue();
30 return Json::createFromString($value)->toArray();
33 return $value;
44 public function setFromStoreValueWithoutException($value): Metadata
47 parent::setFromStoreValueWithoutException($this->toInternalValue($value));
57 private function toInternalValue($value)
59 if ($value === null) {
63 if (is_array($value)) {
64 return Json::createFromArray($value)->toPrettyJsonString();
66 if (!is_string($value)) {
67 throw new ExceptionCompile("The json persistent value is not an array, nor a string");
70 return $value;