Update StatusObserver, handle events after all transactions are committed

This commit is contained in:
Daniel Supernault 2022-09-26 23:55:36 -06:00
parent 08ab19f0ea
commit 805a014e38
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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