Added achievement data
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user