Update model observers, handle events after all transactions are committed

pull/3670/head
Daniel Supernault 2022-09-26 23:58:15 -06:00
rodzic 1658b689e8
commit 78665b0c17
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
7 zmienionych plików z 49 dodań i 0 usunięć

Wyświetl plik

@ -9,6 +9,13 @@ use App\Services\AccountService;
class AvatarObserver
{
/**
* Handle events after all transactions are committed.
*
* @var bool
*/
public $afterCommit = true;
/**
* Handle the avatar "created" event.
*

Wyświetl plik

@ -7,6 +7,13 @@ use App\Services\LikeService;
class LikeObserver
{
/**
* Handle events after all transactions are committed.
*
* @var bool
*/
public $afterCommit = true;
/**
* Handle the Like "created" event.
*

Wyświetl plik

@ -9,6 +9,13 @@ use Log;
class ModLogObserver
{
/**
* Handle events after all transactions are committed.
*
* @var bool
*/
public $afterCommit = true;
/**
* Handle the mod log "created" event.
*

Wyświetl plik

@ -7,6 +7,13 @@ use App\Services\NotificationService;
class NotificationObserver
{
/**
* Handle events after all transactions are committed.
*
* @var bool
*/
public $afterCommit = true;
/**
* Handle the notification "created" event.
*

Wyświetl plik

@ -7,6 +7,13 @@ use App\Services\AccountService;
class ProfileObserver
{
/**
* Handle events after all transactions are committed.
*
* @var bool
*/
public $afterCommit = true;
/**
* Handle the Profile "created" event.
*

Wyświetl plik

@ -7,6 +7,13 @@ use App\Services\StatusHashtagService;
class StatusHashtagObserver
{
/**
* Handle events after all transactions are committed.
*
* @var bool
*/
public $afterCommit = true;
/**
* Handle the notification "created" event.
*

Wyświetl plik

@ -7,6 +7,13 @@ use App\Services\UserFilterService;
class UserFilterObserver
{
/**
* Handle events after all transactions are committed.
*
* @var bool
*/
public $afterCommit = true;
/**
* Handle the user filter "created" event.
*