You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 28, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: doc/LaravelFCM/Message/PayloadDataBuilder.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ Official google documentation :
32
32
|---|---|---|---|
33
33
|[<abbrtitle="LaravelFCM\Message\PayloadDataBuilder">PayloadDataBuilder</abbr>](../../LaravelFCM/Message/PayloadDataBuilder.md)|<aname="#method_addData"></a>addData(array $data)|add data to existing data.||
34
34
|[<abbrtitle="LaravelFCM\Message\PayloadDataBuilder">PayloadDataBuilder</abbr>](../../LaravelFCM/Message/PayloadDataBuilder.md)|<aname="#method_setData"></a>setData(array $data)|erase data with new data.||
35
-
||<aname="#method_removeAllData"></a>removeAllData()|Remove all data.||
|[<abbrtitle="LaravelFCM\Message\PayloadData">PayloadData</abbr>](../../LaravelFCM/Message/PayloadData.md)|<aname="#method_build"></a>build()|generate a PayloadData.||
38
38
39
39
@@ -83,32 +83,39 @@ erase data with new data.
83
83
<anameid="method_removeAllData"></a>
84
84
85
85
###
86
-
**removeAllData**()
86
+
void**removeAllData**()
87
87
88
-
[at line 52](https://github.com/code-lts/Laravel-FCM/blob/main/src/Message/PayloadDataBuilder.php#L52)
88
+
[at line 54](https://github.com/code-lts/Laravel-FCM/blob/main/src/Message/PayloadDataBuilder.php#L54)
89
89
90
90
Remove all data.
91
+
92
+
#### Return Value
93
+
94
+
|||
95
+
|---|---|
96
+
|void|
97
+
91
98
<anameid="method_getData"></a>
92
99
93
100
###
94
-
array **getData**()
101
+
array|null**getData**()
95
102
96
-
[at line 62](https://github.com/code-lts/Laravel-FCM/blob/main/src/Message/PayloadDataBuilder.php#L62)
103
+
[at line 64](https://github.com/code-lts/Laravel-FCM/blob/main/src/Message/PayloadDataBuilder.php#L64)
0 commit comments