PHP Class LaravelFCM\Message\PayloadNotification

Inheritance: implements Illuminate\Contracts\Support\Arrayable
Afficher le fichier Open project: brozot/laravel-fcm Class Usage Examples

Protected Properties

Свойство Type Description
$badge null | String
$body null | String
$bodyLocationArgs null | String
$bodyLocationKey null | String
$clickAction null | String
$color null | String
$icon null | String
$sound null | String
$tag null | String
$title null | String
$titleLocationArgs null | String
$titleLocationKey null | String

Méthodes publiques

Méthode Description
__construct ( PayloadNotificationBuilder $builder ) PayloadNotification constructor.
toArray ( ) : array convert PayloadNotification to array

Method Details

__construct() public méthode

PayloadNotification constructor.
public __construct ( PayloadNotificationBuilder $builder )
$builder PayloadNotificationBuilder

toArray() public méthode

convert PayloadNotification to array
public toArray ( ) : array
Résultat array

Property Details

$badge protected_oe property

protected null|String $badge
Résultat null | String

$body protected_oe property

protected null|String $body
Résultat null | String

$bodyLocationArgs protected_oe property

protected null|String $bodyLocationArgs
Résultat null | String

$bodyLocationKey protected_oe property

protected null|String $bodyLocationKey
Résultat null | String

$clickAction protected_oe property

protected null|String $clickAction
Résultat null | String

$color protected_oe property

protected null|String $color
Résultat null | String

$icon protected_oe property

protected null|String $icon
Résultat null | String

$sound protected_oe property

protected null|String $sound
Résultat null | String

$tag protected_oe property

protected null|String $tag
Résultat null | String

$title protected_oe property

protected null|String $title
Résultat null | String

$titleLocationArgs protected_oe property

protected null|String $titleLocationArgs
Résultat null | String

$titleLocationKey protected_oe property

protected null|String $titleLocationKey
Résultat null | String