validateRules($data); } } /** * Execute the job. */ public function handle(): void { $this->execute($this->data ?? []); } /** * Execute the service. */ abstract public function execute(array $data): void; /** * Handle a job failure. */ public function failed(Throwable $exception): void { // } }