PHP Class LaravelFCM\Message\PayloadNotification

Inheritance: implements Illuminate\Contracts\Support\Arrayable
显示文件 Open project: brozot/laravel-fcm Class Usage Examples

Protected Properties

Property 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

Public Methods

Method Description
__construct ( PayloadNotificationBuilder $builder ) PayloadNotification constructor.
toArray ( ) : array convert PayloadNotification to array

Method Details

__construct() public method

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

toArray() public method

convert PayloadNotification to array
public toArray ( ) : array
return array

Property Details

$badge protected_oe property

protected null|String $badge
return null | String

$body protected_oe property

protected null|String $body
return null | String

$bodyLocationArgs protected_oe property

protected null|String $bodyLocationArgs
return null | String

$bodyLocationKey protected_oe property

protected null|String $bodyLocationKey
return null | String

$clickAction protected_oe property

protected null|String $clickAction
return null | String

$color protected_oe property

protected null|String $color
return null | String

$icon protected_oe property

protected null|String $icon
return null | String

$sound protected_oe property

protected null|String $sound
return null | String

$tag protected_oe property

protected null|String $tag
return null | String

$title protected_oe property

protected null|String $title
return null | String

$titleLocationArgs protected_oe property

protected null|String $titleLocationArgs
return null | String

$titleLocationKey protected_oe property

protected null|String $titleLocationKey
return null | String