<?php

namespace Modules\WhatsApp\Observers;

use Modules\WhatsApp\Entities\Services\WaNotifier;

/**
 * Welcomes a newly created pet owner to the clinic. Registered only when
 * VetClinic is installed.
 */
class VcPetOwnerDetailObserver
{
    public function created($detail): void
    {
        (new WaNotifier())->petOwnerWelcome($detail);
    }
}
