/** * Delete an item from the storage if it exists. * * @param string $key * * @return void */ public function delete($key) { $this->store->delete($key); }
/** * Delete an item from the storage if it exists. * * @param string $key * * @return void */ public function delete($key) { $this->main->delete($key); $this->fallback->delete($key); }
/** * Delete an item from the storage if it exists. * * @param string $key * * @return void */ public function delete($key) { $this->store->delete($key); $this->cache->forget("store.{$key}"); }