PHP Class LaravelFCM\Message\PayloadNotification

Inheritance: implements Illuminate\Contracts\Support\Arrayable
Show file 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 property

protected null|String $badge
return null | String

$body protected property

protected null|String $body
return null | String

$bodyLocationArgs protected property

protected null|String $bodyLocationArgs
return null | String

$bodyLocationKey protected property

protected null|String $bodyLocationKey
return null | String

$clickAction protected property

protected null|String $clickAction
return null | String

$color protected property

protected null|String $color
return null | String

$icon protected property

protected null|String $icon
return null | String

$sound protected property

protected null|String $sound
return null | String

$tag protected property

protected null|String $tag
return null | String

$title protected property

protected null|String $title
return null | String

$titleLocationArgs protected property

protected null|String $titleLocationArgs
return null | String

$titleLocationKey protected property

protected null|String $titleLocationKey
return null | String