<?php
 namespace App\EventHooks\System; use App\EventHooks\HookEvent; class AutomationTaskStarting extends HookEvent { public const HOOK = 'PreAutomationTask'; public function task(): ?array { return $this->get('task'); } } 