Files
FlightsAPI/app/Services/Achievements/Checkers/AchievementCheckerInterface.php
T
2026-04-26 20:00:11 +10:00

16 lines
374 B
PHP

<?php
namespace App\Services\Achievements\Checkers;
use App\Models\User;
interface AchievementCheckerInterface
{
/**
* Check all achievements in this category for the given user.
* Implementations should call $this->service->award() or $this->service->revoke()
* — never touch user_achievements directly.
*/
public function check(): void;
}