public function sendPayload($deviceToken, Payload $payload)
    {
        return $this->socketClient->write(
            $this->createApnMessage($deviceToken, $payload)->getBinaryMessage()
        );
    }
public function sendPayload($deviceToken, Payload $payload)
    {
        return $this->socketClient->write(
            $this->createApnMessage($deviceToken, $payload)->getBinaryMessage()
        );
    }
public function sendPayload ( $ deviceToken , Payload $ payload ) { return $ this -> socketClient -> write ( $ this -> createApnMessage ( $ deviceToken , $ payload ) -> getBinaryMessage ( ) ) ; }
Send Payload instance to a given device token.

@param string $deviceToken The device token to send payload to.
@param \JWage\APNS\Payload $payload The payload to send to device token.
Send Payload instance to a given device token .