Beispiel #1
0
 /**
  * Direct store instruction.
  * Makes the registry to be stored
  * @see lib/ezc/Cache/src/storage/ezcCacheStorageMemory::store()
  */
 public function store($id, $data, $attributes = array())
 {
     $this->forceStoreRegistry = true;
     $storeResult = parent::store($id, $data, $attributes);
     // Update clustered expiry timestamp
     $expiryTime = time() + $this->properties['options']['ttl'];
     $this->expiryHandler->setTimestamp(ezpRestRouter::ROUTE_CACHE_KEY, $expiryTime);
     return $storeResult;
 }