MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/www/mpl.imenso.co/vendor/brozot/laravel-fcm/doc/LaravelFCM-Sender-FCMGroup.md
LaravelFCM\Sender\FCMGroup
===============

Class FCMGroup




* Class name: FCMGroup
* Namespace: LaravelFCM\Sender
* Parent class: [LaravelFCM\Sender\BaseSender](LaravelFCM-Sender-BaseSender.md)



Constants
----------


### CREATE

    const CREATE = "create"





### ADD

    const ADD = "add"





### REMOVE

    const REMOVE = "remove"





Properties
----------


### $client

    protected \Illuminate\Foundation\Application $client

Guzzle Client



* Visibility: **protected**


### $config

    protected array $config

configuration



* Visibility: **protected**


### $url

    protected mixed $url

url



* Visibility: **protected**


Methods
-------


### createGroup

    null LaravelFCM\Sender\FCMGroup::createGroup($notificationKeyName, array $registrationIds)

Create a group



* Visibility: **public**


#### Arguments
* $notificationKeyName **mixed**
* $registrationIds **array**



### addToGroup

    null LaravelFCM\Sender\FCMGroup::addToGroup($notificationKeyName, $notificationKey, array $registrationIds)

add registrationId to a existing group



* Visibility: **public**


#### Arguments
* $notificationKeyName **mixed**
* $notificationKey **mixed**
* $registrationIds **array** - <p>registrationIds to add</p>



### removeFromGroup

    null LaravelFCM\Sender\FCMGroup::removeFromGroup($notificationKeyName, $notificationKey, array $registeredIds)

remove registrationId to a existing group

>Note: if you remove all registrationIds the group is automatically deleted

* Visibility: **public**


#### Arguments
* $notificationKeyName **mixed**
* $notificationKey **mixed**
* $registeredIds **array** - <p>registrationIds to remove</p>



### getUrl

    string LaravelFCM\Sender\BaseSender::getUrl()

get the url



* Visibility: **protected**
* This method is **abstract**.
* This method is defined by [LaravelFCM\Sender\BaseSender](LaravelFCM-Sender-BaseSender.md)




### __construct

    mixed LaravelFCM\Sender\BaseSender::__construct()

BaseSender constructor.



* Visibility: **public**
* This method is defined by [LaravelFCM\Sender\BaseSender](LaravelFCM-Sender-BaseSender.md)