1 | <?php |
||
28 | abstract class Events |
||
29 | { |
||
30 | const ON_NOTIFICATION = 'on_notification'; |
||
31 | const ON_MESSAGE = 'message_received'; |
||
32 | |||
33 | /** |
||
34 | * @codeCoverageIgnore |
||
35 | */ |
||
36 | final private function __construct() { } |
||
37 | |||
38 | /** |
||
39 | * Returns a QPush Notification Event Name |
||
40 | * |
||
41 | * @param string $name The name of the Queue for this Event |
||
42 | * |
||
43 | * @return string |
||
44 | */ |
||
45 | 5 | public static function Notification($name) |
|
49 | |||
50 | /** |
||
51 | * Returns a QPush Notification Event Name |
||
52 | * |
||
53 | * @param string $name The name of the Queue for this Event |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | 4 | public static function Message($name) |
|
61 | } |
||
62 |