Exemple #1
0
 /**
  * Add multiple items.
  *
  * @param  array $keyValuePairs
  * @return bool
  * @throws Exception\ExceptionInterface
  *
  * @triggers addItems.pre(PreEvent)
  * @triggers addItems.post(PostEvent)
  * @triggers addItems.exception(ExceptionEvent)
  */
 public function addItems(array $keyValuePairs)
 {
     $options = $this->getOptions();
     if ($options->getWritable() && $options->getClearStatCache()) {
         clearstatcache();
     }
     return parent::addItems($keyValuePairs);
 }