<?php

namespace Modules\Booking\Providers;

use Illuminate\Contracts\Auth\Access\Gate;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\ServiceProvider;
use Modules\Booking\Events\DriverAssigned;
use Modules\Booking\Listeners\SendDriverAssignedSms;
use Modules\Booking\Policies\BookingPolicy;

class BookingServiceProvider extends ServiceProvider
{
    public function register(): void {}

    public function boot(Gate $gate): void
    {
        $gate->policy('Modules\Booking\Models\Booking', BookingPolicy::class);

        // Event::listen(DriverAssigned::class, SendDriverAssignedSms::class);
    }
}
