| 1 | <?php |
||
| 8 | class ExpoDatabaseDriver implements ExpoRepository |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Stores an Expo token with a given identifier. |
||
| 12 | * |
||
| 13 | * @param $key |
||
| 14 | * @param $value |
||
| 15 | * |
||
| 16 | * @return bool |
||
| 17 | */ |
||
| 18 | 2 | public function store($key, $value): bool |
|
| 27 | |||
| 28 | /** |
||
| 29 | * Retrieves an Expo token with a given identifier. |
||
| 30 | * |
||
| 31 | * @param string $key |
||
| 32 | * |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function retrieve(string $key) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Removes an Expo token with a given identifier. |
||
| 42 | * |
||
| 43 | * @param string $key |
||
| 44 | * |
||
| 45 | * @return bool |
||
| 46 | */ |
||
| 47 | 1 | public function forget(string $key): bool |
|
| 51 | } |