PHP Class LaravelFCM\Message\PayloadData

Inheritance: implements Illuminate\Contracts\Support\Arrayable
Exibir arquivo Open project: brozot/laravel-fcm Class Usage Examples

Protected Properties

Property Type Description
$data array

Public Methods

Method Description
__construct ( PayloadDataBuilder $builder ) PayloadData constructor.
toArray ( ) : array Transform payloadData to array

Method Details

__construct() public method

PayloadData constructor.
public __construct ( PayloadDataBuilder $builder )
$builder PayloadDataBuilder

toArray() public method

Transform payloadData to array
public toArray ( ) : array
return array

Property Details

$data protected_oe property

protected array $data
return array