first commit

This commit is contained in:
2026-02-18 19:54:52 +07:00
commit 8e070562cb
101 changed files with 13462 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?php
declare(strict_types=1);
namespace App\Contracts;
use App\Models\Task;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
use Throwable;
interface TaskServiceInterface
{
/**
* @throws Throwable
*/
public function list(RequestFilterInterface $filters): LengthAwarePaginator;
/**
* @throws Throwable
*/
public function create(array $data): Task;
public function show(Task $task): Task;
/**
* @throws Throwable
*/
public function update(Task $task, array $data): Task;
public function delete(Task $task): void;
}