CommentApproved.php 348 B

1234567891011121314151617
  1. <?php
  2. namespace App\Events;
  3. use App\Models\Comment;
  4. use Illuminate\Broadcasting\InteractsWithSockets;
  5. use Illuminate\Foundation\Events\Dispatchable;
  6. use Illuminate\Queue\SerializesModels;
  7. class CommentApproved
  8. {
  9. use Dispatchable, InteractsWithSockets, SerializesModels;
  10. public function __construct(public Comment $comment)
  11. {
  12. }
  13. }