| 1 | <?php |
||
| 8 | class ApnsResponseCollection extends Collection |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Filter to only unsuccessful responses. |
||
| 12 | * |
||
| 13 | * @return \SemyonChetvertnyh\ApnNotificationChannel\ApnsResponseCollection |
||
| 14 | */ |
||
| 15 | public function onlyUnsuccessful() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Filter to having outdated token responses. |
||
| 24 | * |
||
| 25 | * @return \SemyonChetvertnyh\ApnNotificationChannel\ApnsResponseCollection |
||
| 26 | */ |
||
| 27 | public function havingOutdatedDeviceToken() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get all device tokens. |
||
| 39 | * |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | public function allDeviceTokens() |
||
| 48 | } |
||
| 49 |