swoole-framwork/vendor/illuminate/database/Eloquent/BroadcastsEventsAfterCommit.php
2024-05-20 11:51:07 +08:00

19 lines
348 B
PHP

<?php
namespace Illuminate\Database\Eloquent;
trait BroadcastsEventsAfterCommit
{
use BroadcastsEvents;
/**
* Determine if the model event broadcast queued job should be dispatched after all transactions are committed.
*
* @return bool
*/
public function broadcastAfterCommit()
{
return true;
}
}