KSA-ORACLE-ALLACCESSKEYS/app/Repositories/CardRepositoryInterface.php
Nyavokevin 9e5cc5ab1a
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
add dark theme
2025-09-18 20:34:07 +03:00

22 lines
409 B
PHP

<?php
namespace App\Repositories;
use App\Models\Card;
use Illuminate\Database\Eloquent\Collection;
interface CardRepositoryInterface
{
public function all(): Collection;
public function find(int $id): ?Card;
public function create(array $data): Card;
public function update(int $id, array $data): ?Card;
public function delete(int $id): bool;
public function draw(): array;
}