-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPusherChannel.php
More file actions
64 lines (57 loc) · 1.01 KB
/
PusherChannel.php
File metadata and controls
64 lines (57 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
namespace IrishDan\NotificationBundle;
/**
* Class PusherChannel
*
* @package IrishDan\NotificationBundle
*/
class PusherChannel
{
/**
* @var
*/
private $channelName;
/**
* @var
*/
private $socketId;
/**
* PusherChannel constructor.
*
* @param $channelName
* @param $socketId
*/
public function __construct($channelName, $socketId)
{
$this->channelName = $channelName;
$this->socketId = $socketId;
}
/**
* @return mixed
*/
public function getChannelName()
{
return $this->channelName;
}
/**
* @param mixed $channelName
*/
public function setChannelName($channelName)
{
$this->channelName = $channelName;
}
/**
* @return mixed
*/
public function getSocketId()
{
return $this->socketId;
}
/**
* @param mixed $socketId
*/
public function setSocketId($socketId)
{
$this->socketId = $socketId;
}
}