PHP Class LaravelFCM\Request\GroupRequest

Inheritance: extends BaseRequest
Show file Open project: brozot/laravel-fcm Class Usage Examples

Protected Properties

Property Type Description
$notificationKey string
$notificationKeyName string
$operation string
$registrationIds array

Public Methods

Method Description
__construct ( $operation, $notificationKeyName, $notificationKey, $registrationIds ) GroupRequest constructor.

Protected Methods

Method Description
buildBody ( ) : array Build the header for the request

Method Details

__construct() public method

GroupRequest constructor.
public __construct ( $operation, $notificationKeyName, $notificationKey, $registrationIds )
$operation
$notificationKeyName
$notificationKey
$registrationIds

buildBody() protected method

Build the header for the request
protected buildBody ( ) : array
return array

Property Details

$notificationKey protected property

protected string $notificationKey
return string

$notificationKeyName protected property

protected string $notificationKeyName
return string

$operation protected property

protected string $operation
return string

$registrationIds protected property

protected array $registrationIds
return array