1 | <?php |
||
21 | class MPNSBase extends MessageBase |
||
22 | { |
||
23 | /** |
||
24 | * MPNs does not support multicast sending |
||
25 | */ |
||
26 | const MAX_RECIPIENTS_PER_MESSAGE_COUNT = 1; |
||
27 | |||
28 | /** |
||
29 | * Notification delivery interval |
||
30 | * |
||
31 | * @var int |
||
32 | */ |
||
33 | protected $delayInterval; |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getMessageType() |
||
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | public function getMPNSType() |
||
50 | |||
51 | /** |
||
52 | * No expiration time available in MPN |
||
53 | * |
||
54 | * @throws BadMethodCallException |
||
55 | */ |
||
56 | public function getExpirationTime() |
||
60 | |||
61 | /** |
||
62 | * @return int |
||
63 | */ |
||
64 | public function getDelayInterval() |
||
71 | |||
72 | /** |
||
73 | * @param int $delayInterval |
||
74 | * @return $this |
||
75 | */ |
||
76 | public function setDelayInterval($delayInterval) |
||
89 | |||
90 | /** |
||
91 | * {@inheritdoc} |
||
92 | */ |
||
93 | public function validateRecipient($token) |
||
103 | |||
104 | /** |
||
105 | * @return \ReflectionProperty[] |
||
106 | */ |
||
107 | public function getPropertiesList() |
||
114 | } |
||
115 |