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