<?php

namespace Modules\WhatsApp\Observers;

use Modules\WhatsApp\Entities\Services\WaNotifier;

/**
 * Welcomes a newly registered pet (notifies the owner). Registered only when
 * VetClinic is installed.
 */
class VcPetObserver
{
    public function created($pet): void
    {
        (new WaNotifier())->petWelcome($pet);
    }
}
