Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | trait HasNotificationTrait |
||
12 | { |
||
13 | /** |
||
14 | * @var Notification |
||
15 | */ |
||
16 | protected $notification = null; |
||
17 | |||
18 | |||
19 | /** |
||
20 | * @return Notification |
||
21 | */ |
||
22 | public function getNotification() |
||
23 | { |
||
24 | return $this->notification; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Set the Notification instance |
||
29 | * |
||
30 | * @param Notification $notification Notification instance |
||
31 | * |
||
32 | * @return void |
||
33 | */ |
||
34 | public function setNotification($notification) |
||
37 | } |
||
38 | } |
||
39 |