/** * {@inheritDoc} */ public function deleteNodes(array $operations) { $result = parent::deleteNodes($operations); if ($result) { $this->clearCaches(); } return $result; }
/** * {@inheritDoc} */ public function deleteNodes(array $operations) { $result = parent::deleteNodes($operations); if ($result && isset($this->caches['nodes'])) { $this->caches['nodes']->deleteAll(); } return $result; }