| 1 | <?php |
||
| 15 | class GameView |
||
| 16 | { |
||
| 17 | use InteractsWithSockets, SerializesModels; |
||
| 18 | |||
| 19 | public $gameid; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Create a new event instance. |
||
| 23 | * |
||
| 24 | * @param $gameid |
||
| 25 | */ |
||
| 26 | public function __construct($gameid) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Get the channels the event should broadcast on. |
||
| 33 | * |
||
| 34 | * @return Channel|array |
||
| 35 | */ |
||
| 36 | public function broadcastOn() |
||
| 40 | } |
||
| 41 |