ExpoPusherController
extends Controller
in package
Table of Contents
- $expoChannel : ExpoChannel
- __construct() : mixed
- ExpoController constructor.
- subscribe() : Response
- Subscibe a new user
- unsubscribe() : Response
- Unsubscibe a new user
Properties
$expoChannel
private
ExpoChannel
$expoChannel
Methods
__construct()
ExpoController constructor.
public
__construct(ExpoChannel $expoChannel) : mixed
Parameters
- $expoChannel : ExpoChannel
Return values
mixed —subscribe()
Subscibe a new user
public
subscribe(Request $request) : Response
Parameters
- $request : Request
Return values
Response —unsubscribe()
Unsubscibe a new user
public
unsubscribe(Request $request) : Response
Parameters
- $request : Request