mirror of
https://github.com/Cybrarist/Discount-Bandit.git
synced 2026-11-24 19:49:54 +01:00
49 lines
770 B
PHP
49 lines
770 B
PHP
<?php
|
|
|
|
namespace App\Observers;
|
|
|
|
use App\Models\Store;
|
|
|
|
class StoreObserver
|
|
{
|
|
/**
|
|
* Handle the Store "created" event.
|
|
*/
|
|
public function created(Store $store): void
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the Store "updated" event.
|
|
*/
|
|
public function updated(Store $store): void
|
|
{
|
|
\Cache::forget('stores_available');
|
|
}
|
|
|
|
/**
|
|
* Handle the Store "deleted" event.
|
|
*/
|
|
public function deleted(Store $store): void
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the Store "restored" event.
|
|
*/
|
|
public function restored(Store $store): void
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the Store "force deleted" event.
|
|
*/
|
|
public function forceDeleted(Store $store): void
|
|
{
|
|
//
|
|
}
|
|
}
|