generated from cjmellor/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from cjmellor/feat/revoke-achievment
feat: Add Revoke Achievmenet
- Loading branch information
Showing
4 changed files
with
112 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace LevelUp\Experience\Events; | ||
|
||
use Illuminate\Database\Eloquent\Model; | ||
use Illuminate\Foundation\Events\Dispatchable; | ||
use LevelUp\Experience\Models\Achievement; | ||
|
||
class AchievementRevoked | ||
{ | ||
use Dispatchable; | ||
|
||
public function __construct( | ||
public Achievement $achievement, | ||
public Model $user, | ||
) { | ||
// | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters