/** * Compile the message and send to the APNS service * @param Interfaces\MessageInterface $message * @return void */ public function sendMessage($message) { //@todo check interface $json = $message->toJSON(); $token = $message->token; $this->request(Helpers\Common::getBinary($token, $json)); }
/** * Compile the message and send to the APNS service * @param Interfaces\MessageInterface $message * @return void */ public function sendMessage($message) { //@todo check interface $json = $message->toJSON(); $this->request($json); }