Files
CRM/app/Services/QueuableService.php
Kroonk a213a1dba0
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
refactor: replace custom CRM with Monica fork
2026-05-22 16:19:55 +02:00

28 lines
467 B
PHP

<?php
namespace App\Services;
use Throwable;
/**
* Makes a BaseService queuable using the generic ServiceQueue job.
*/
interface QueuableService
{
/**
* Execute the service.
*
* @param array $data
* @return void
*/
public function handle(array $data): void;
/**
* Handle a job failure.
*
* @param \Throwable $exception
* @return void
*/
public function failed(Throwable $exception): void;
}