Пример #1
0
 /**
  * @return Regex
  */
 public function getRegex()
 {
     return self::TYPE_REGEX === $this->value->getType() ? $this->value : $this->value->toRegex();
 }
Пример #2
0
 /**
  * @param ValueInterface $value
  */
 public function flush(ValueInterface $value)
 {
     $this->storageStrategy->deleteRaw($value->getKey());
 }