musonza/chat

View on GitHub
src/Eventing/ParticipantsLeft.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Musonza\Chat\Eventing;

use Musonza\Chat\Models\Conversation;

class ParticipantsLeft extends Event
{
    /**
     * @var Conversation
     */
    public $conversation;
    public $participants;

    public function __construct(Conversation $conversation, $participants)
    {
        $this->conversation = $conversation;
        $this->participants = $participants;
    }
}