Completed
Pull Request — master (#34)
by Fèvre
05:50 queued 02:49
created

ConversationWasLockedEvent   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 19
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
namespace Xetaravel\Events\Discuss;
3
4
use Xetaravel\Models\DiscussConversation;
5
6
class ConversationWasLockedEvent
7
{
8
    /**
9
     * The conversation instance.
10
     *
11
     * @var \Xetaravel\Models\DiscussConversation
12
     */
13
    public $conversation;
14
15
    /**
16
     * Create a new event instance.
17
     *
18
     * @param \Xetaravel\Models\DiscussConversation $conversation
19
     */
20
    public function __construct(DiscussConversation $conversation)
21
    {
22
        $this->conversation = $conversation;
23
    }
24
}
25