Lines Matching refs:value
32 * @param string|null $value
34 * @throws ExceptionBadArgument - if the value cannot be persisted
37 public function setValue($value): Metadata
40 if ($value === null) {
41 parent::setValue($value);
45 $value = trim($value);
46 if ($value === "") {
52 $cacheExpirationCalculatedDate = Cron::getDate($value);
54 throw new ExceptionBadSyntax("The cache frequency expression ($value) is not a valid cron expression. <a href=\"https://crontab.guru/\">Validate it on this website</a>", CacheExpirationFrequency::PROPERTY_NAME, 0, $e);
60 parent::setValue($value);