PHP Class LaravelFCM\Message\Options

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

Protected Properties

Property Type Description
$collapseKey null | string
$contentAvailable boolean
$delayWhileIdle boolean
$isDryRun boolean
$priority null | string
$restrictedPackageName null | string
$timeToLive integer | null

Public Methods

Method Description
__construct ( OptionsBuilder $builder ) Options constructor.
toArray ( ) : array Transform Option to array

Method Details

__construct() public method

Options constructor.
public __construct ( OptionsBuilder $builder )
$builder OptionsBuilder

toArray() public method

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

Property Details

$collapseKey protected property

protected null|string $collapseKey
return null | string

$contentAvailable protected property

protected bool $contentAvailable
return boolean

$delayWhileIdle protected property

protected bool $delayWhileIdle
return boolean

$isDryRun protected property

protected bool $isDryRun
return boolean

$priority protected property

protected null|string $priority
return null | string

$restrictedPackageName protected property

protected null|string $restrictedPackageName
return null | string

$timeToLive protected property

protected int|null $timeToLive
return integer | null