| Total Complexity | 1 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class NewConnection |
||
| 9 | { |
||
| 10 | use Dispatchable, SerializesModels; |
||
|
|
|||
| 11 | |||
| 12 | /** |
||
| 13 | * The WebSockets app id that the user connected to. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | public $appId; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The Socket ID associated with the connection. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | public $socketId; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Create a new event instance. |
||
| 28 | * |
||
| 29 | * @param string $appId |
||
| 30 | * @param string $socketId |
||
| 31 | * @return void |
||
| 32 | */ |
||
| 33 | public function __construct(string $appId, string $socketId) |
||
| 39 |