/** * {@inheritDoc} */ public function storeNodes(array $operations) { parent::storeNodes($operations); // we do not have the node here, otherwise we could just use clearNodeCache() on pre-existing parents and then just invalidate all queries $this->clearCaches(); }
/** * {@inheritDoc} */ public function storeNodes(array $operations) { $result = parent::storeNodes($operations); if ($result && isset($this->caches['nodes'])) { $this->caches['nodes']->deleteAll(); } return $result; }