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

ConversationWasPinnedEvent::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
namespace Xetaravel\Events\Discuss;
3
4
use Xetaravel\Models\DiscussConversation;
5
6
class ConversationWasPinnedEvent
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