1 | <?php |
||
12 | class User implements NotifiableInterface, EmailableInterface, TextableInterface, PusherableInterface, SlackableInterface, DatabaseNotifiableInterface |
||
13 | { |
||
14 | private $id = 1; |
||
15 | private $username = 'jimBob'; |
||
16 | private $email = '[email protected]'; |
||
17 | private $subscribedChannels = [ |
||
18 | 'database', |
||
19 | 'mail', |
||
20 | 'pusher', |
||
21 | 'nexmo', |
||
22 | 'slack', |
||
23 | ]; |
||
24 | |||
25 | public function getNumber() |
||
29 | |||
30 | public function getId() |
||
34 | |||
35 | public function getUsername() |
||
39 | |||
40 | public function setUsername($username) |
||
44 | |||
45 | public function getEmail() |
||
49 | |||
50 | public function setEmail($email) |
||
54 | |||
55 | public function isSubscribedToChannel($channel) |
||
61 | |||
62 | public function getSubscribedChannels() |
||
66 | |||
67 | public function getPusherChannelSuffix() |
||
71 | |||
72 | public function getSlackWebhook() |
||
76 | |||
77 | public function getIdentifier() |
||
81 | |||
82 | public function setSubscribedChannels(array $channels) |
||
86 | } |
||
87 |