Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
paragraph1
phpFCM
Notification
setBadge
paragraph1\phpFCM\Notification::setBadge PHP Method
Notification Class Documentation
Show file
Open project: paragraph1/php-fcm
setBadge()
public
method
iOS only: will add smal red bubbles indicating the number of notifications to your apps icon
public
setBadge
(
integer
$badge
) :
Notification
$badge
integer
return
Notification
public function setBadge($badge) { $this->badge = $badge; return $this; }
Notification
__construct
jsonSerialize
setBadge
setBody
setClickAction
setColor
setIcon
setSound
setTag
setTitle