16 lines
374 B
PHP
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;
|
|
}
|