Example #1
0
 /**
  * Delete an item from the storage if it exists.
  *
  * @param string $key
  *
  * @return void
  */
 public function delete($key)
 {
     $this->store->delete($key);
 }
Example #2
0
 /**
  * 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);
 }
Example #3
0
 /**
  * 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}");
 }