PusherChannel::setSocketId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace IrishDan\NotificationBundle;
4
5
/**
6
 * Class PusherChannel
7
 *
8
 * @package IrishDan\NotificationBundle
9
 */
10
class PusherChannel
11
{
12
    /**
13
     * @var
14
     */
15
    private $channelName;
16
    /**
17
     * @var
18
     */
19
    private $socketId;
20
21
    /**
22
     * PusherChannel constructor.
23
     *
24
     * @param $channelName
25
     * @param $socketId
26
     */
27
    public function __construct($channelName, $socketId)
28
    {
29
        $this->channelName = $channelName;
30
        $this->socketId = $socketId;
31
    }
32
33
    /**
34
     * @return mixed
35
     */
36
    public function getChannelName()
37
    {
38
        return $this->channelName;
39
    }
40
41
    /**
42
     * @param mixed $channelName
43
     */
44
    public function setChannelName($channelName)
45
    {
46
        $this->channelName = $channelName;
47
    }
48
49
    /**
50
     * @return mixed
51
     */
52
    public function getSocketId()
53
    {
54
        return $this->socketId;
55
    }
56
57
    /**
58
     * @param mixed $socketId
59
     */
60
    public function setSocketId($socketId)
61
    {
62
        $this->socketId = $socketId;
63
    }
64
}