/** * @return Regex */ public function getRegex() { return self::TYPE_REGEX === $this->value->getType() ? $this->value : $this->value->toRegex(); }
/** * @param ValueInterface $value */ public function flush(ValueInterface $value) { $this->storageStrategy->deleteRaw($value->getKey()); }