Documentation

ExpoPusherDatabaseDriver
in package
implements ExpoPusherRepository

Interfaces, Classes, Traits and Enums

ExpoPusherRepository
Interface to include method to verify existance of the key in store

Table of Contents

exists()  : bool
Check whether specified key exists in database or not
forget()  : bool
Removes an Expo token with a given identifier.
retrieve()  : array<string|int, mixed>
Retrieves an Expo token with a given identifier.
store()  : bool
Stores an Expo token with a given identifier.

Methods

exists()

Check whether specified key exists in database or not

public static exists(string $key) : bool
Parameters
$key : string
Return values
bool

forget()

Removes an Expo token with a given identifier.

public forget(string $key[, string $deviceToken = null ]) : bool
Parameters
$key : string
$deviceToken : string = null
Return values
bool

retrieve()

Retrieves an Expo token with a given identifier.

public retrieve(string $key) : array<string|int, mixed>
Parameters
$key : string
Return values
array<string|int, mixed>

store()

Stores an Expo token with a given identifier.

public store( $key,  $deviceToken) : bool
Parameters
$key :
$deviceToken :
Return values
bool

Search results