Available methods for Push object - abraovic/phpush GitHub Wiki

Notification class methods

General methods are ones that will be used more often. Service specific methods are implemented here so that those can be used if needed. To use those methods you need to use getService() method to get current service.

General available methods

Supported methods:

  • sendMessage(Message $message)
  • getService()
  • setNotificationTTL($ttl)
  • checkPayload(Message $message)

APNS - Apple Push Notification Server

To learn more about this service go to official APNS site.

Supported methods:

  • setIdentifier($identifier)
  • setPriority($priority)

GCM - Google Cloud Messaging

To learn more about this service go to official GCM site.

Supported methods:

  • setRestrictedPackageName($restrictedPackageName)