<?php
 namespace App\Modules\Addon\HelloWorld\Hooks; use App\Core\Hook\AbstractHook; use App\Core\Hook\HookManager; class HelloWorldClientAddHook extends AbstractHook { public function boot(HookManager $hooks): void { $hooks->listenAction('ClientAdd', function (array $ctx) { \Log::info('HelloWorld saw ClientAdd', ['client_id' => $ctx['userid'] ?? null]); }); } } 