Lines Matching refs:value
37 public function setFromStoreValue($value): Metadata
40 $this->validityCheck($value);
41 return parent::setFromStoreValue($value);
46 * @param string|null $value
50 public function setValue($value): Metadata
52 $this->validityCheck($value);
53 return parent::setValue($value);
90 private function validityCheck($value)
92 if ($value === "" || $value === null) {
95 if (!StringUtility::match($value, "^[a-zA-Z]{2}$")) {
96 throw new ExceptionCompile("The region value ($value) for the page ({$this->getResource()}) does not have two letters (ISO 3166 alpha-2 region code)", $this->getCanonical());