<?php

namespace App\Observers;

use App\Helpers\HomepageCacheHelper;
use App\Models\CustomOffer;

class CustomOfferObserver
{
    public function saved(CustomOffer $customOffer): void
    {
        HomepageCacheHelper::clear();
    }

    public function deleted(CustomOffer $customOffer): void
    {
        HomepageCacheHelper::clear();
    }
}
