<?php
 namespace App\EventHooks\Catalog; use App\EventHooks\HookEvent; use App\Models\Tld; class TldPricingUpdated extends HookEvent { public const HOOK = 'TopLevelDomainPricingUpdate'; public function tld(): ?Tld { $id = $this->get('tld_id'); return $id ? Tld::find($id) : null; } } 