* Setter for setting the path to the root certificate .pem file.
* You can use this to specify a root certificate if it's not whitelisted on the system.
* The HTTP/2 APNs provider API root certificate is available here: https://developer.apple.com/library/archive/technotes/tn2265/_index.html#//apple_ref/doc/uid/DTS40010376-CH1-TNTAG31
* You can use this to specify a root certificate if it's not installed on the system already.
* The HTTP/2 APNs provider API root certificate is available here:
thrownewAPNSException("APNs error: ".$output['reason'].PHP_EOL."See the following link for instructions: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/handling_notification_responses_from_apns");
thrownewAPNSException("APNs error: ".$output['reason']." (HTTP $httpcode)".PHP_EOL."See the following link for instructions: https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/handling_notification_responses_from_apns");
}elseif($httpcode==410){
thrownewAPNSDeviceTokenInactive("The device token is inactive. It can be removed from the database until registered again. (".$token->getToken().")");