Class PayloadDataBuilder
Official google documentation :
- Class name: PayloadDataBuilder
- Namespace: LaravelFCM\Message
\LaravelFCM\Message\PayloadDataBuilder LaravelFCM\Message\PayloadDataBuilder::addData(array $data)
add data to existing data
- Visibility: public
- $data array
\LaravelFCM\Message\PayloadDataBuilder LaravelFCM\Message\PayloadDataBuilder::setData(array $data)
erase data with new data
- Visibility: public
- $data array
mixed LaravelFCM\Message\PayloadDataBuilder::removeAllData()
Remove all data
- Visibility: public
array LaravelFCM\Message\PayloadDataBuilder::getData()
return data
- Visibility: public
\LaravelFCM\Message\PayloadData LaravelFCM\Message\PayloadDataBuilder::build()
generate a PayloadData
- Visibility: public