Esempio n. 1
0
 protected function buildGroupRegex()
 {
     $key = $this->keyPrefix . ':groupRegex' . $this->stateKey;
     $item = $this->pool->getItem($key);
     if (!$item->isHit()) {
         $item->set(parent::buildGroupRegex());
         $item->expiresAfter($this->ttl);
         $this->pool->save($item);
     }
     return $item->get();
 }