Ejemplo n.º 1
0
 /**
  * Queue a message on the correct APNS gateway connection
  *
  * @param Message The message to queue
  * @param int The times Notificato should retry to deliver the message on failure (deprecated and ignored)
  * @return MessageEnvelope
  */
 public function queue(Message $message)
 {
     // Get the gateway for the certificate
     $gateway = $this->getGatewayForCertificate($message->getCertificate());
     // Queue the message
     return $gateway->queue($message);
 }