1 | <?php |
||
23 | class NotificationException extends FoundationException |
||
24 | { |
||
25 | protected $channel; |
||
26 | protected $pid; |
||
27 | |||
28 | /** |
||
29 | * __construct |
||
30 | * |
||
31 | * Exception constructor. |
||
32 | * |
||
33 | * @param array $notification |
||
34 | */ |
||
35 | public function __construct(array $notification) |
||
41 | |||
42 | /** |
||
43 | * getChannel |
||
44 | * |
||
45 | * Return the channel's name. |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function getChannel() |
||
53 | |||
54 | /** |
||
55 | * getPid |
||
56 | * |
||
57 | * Return the server's PID. |
||
58 | * |
||
59 | * @return string |
||
60 | */ |
||
61 | public function getPid() |
||
65 | } |
||
66 |