1 | <?php |
||
8 | class TestNotification implements NotificationInterface |
||
9 | { |
||
10 | protected $notifiable; |
||
11 | protected $channel; |
||
12 | protected $uuid; |
||
13 | |||
14 | public function setChannel($channel) |
||
18 | |||
19 | public function getChannel() |
||
23 | |||
24 | public function getUuid() |
||
28 | |||
29 | public function setUuid($uuid) |
||
33 | |||
34 | public function getNotifiable() |
||
38 | |||
39 | public function setNotifiable(NotifiableInterface $notifiable) |
||
43 | |||
44 | public function getChannels() |
||
48 | |||
49 | protected $dataArray = [ |
||
50 | 'title' => 'New member', |
||
51 | 'body' => 'A new member has just joined', |
||
52 | ]; |
||
53 | |||
54 | public function getDataArray() |
||
58 | |||
59 | public function setDataArray(array $data) |
||
63 | |||
64 | public function getTemplateArray() |
||
72 | } |