Exemple #1
0
 /**
  * Reset lifetime of multiple items.
  *
  * @param  array $keys
  * @return array Array of not updated keys
  * @throws Exception\ExceptionInterface
  *
  * @triggers touchItems.pre(PreEvent)
  * @triggers touchItems.post(PostEvent)
  * @triggers touchItems.exception(ExceptionEvent)
  */
 public function touchItems(array $keys)
 {
     $options = $this->getOptions();
     if ($options->getWritable() && $options->getClearStatCache()) {
         clearstatcache();
     }
     return parent::touchItems($keys);
 }