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