Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class TestNotification extends Notification implements IntercomNotification |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @var IntercomMessage |
||
20 | */ |
||
21 | private $intercomMessage; |
||
22 | |||
23 | /** |
||
24 | * TestNotification constructor. |
||
25 | * |
||
26 | * @param \FtwSoft\NotificationChannels\Intercom\IntercomMessage $intercomMessage |
||
27 | */ |
||
28 | public function __construct(IntercomMessage $intercomMessage) |
||
29 | { |
||
30 | $this->intercomMessage = $intercomMessage; |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * @inheritdoc |
||
35 | */ |
||
36 | public function toIntercom($notifiable): IntercomMessage |
||
39 | } |
||
40 | |||
41 | } |