public function sendToGroup($notificationKey, Options $options = null, PayloadNotification $notification = null, PayloadData $data = null)
    {
        $request = new Request($notificationKey, $options, $notification, $data);

        $responseGuzzle = $this->post($request);

        return new GroupResponse($responseGuzzle, $notificationKey);
    }
public function sendToGroup($notificationKey, Options $options = null, PayloadNotification $notification = null, PayloadData $data = null)
    {
        $request = new Request($notificationKey, $options, $notification, $data);

        $responseGuzzle = $this->post($request);

        return new GroupResponse($responseGuzzle, $notificationKey);
    }
public function sendToGroup ( $ notificationKey , Options $ options = null , PayloadNotification $ notification = null , PayloadData $ data = null ) { $ request = new Request ( $ notificationKey , $ options , $ notification , $ data ) ; $ responseGuzzle = $ this -> post ( $ request ) ; return new GroupResponse ( $ responseGuzzle , $ notificationKey ) ; }
Send a message to a group of devices identified with them notification key.

@param                          $notificationKey
@param Options|null             $options
@param PayloadNotification|null $notification
@param PayloadData|null         $data

@return GroupResponse
Send a message to a group of devices identified with them notification key .