| 1 | <?php |
||
| 16 | class UserMigrationStatusUpdated implements ShouldBroadcast |
||
| 17 | { |
||
| 18 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Migrated user. |
||
| 22 | * |
||
| 23 | * @var |
||
| 24 | */ |
||
| 25 | public $user; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Progress status value. |
||
| 29 | * |
||
| 30 | * @var |
||
| 31 | */ |
||
| 32 | public $progress; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Create a new event instance. |
||
| 36 | * |
||
| 37 | * @param $user |
||
| 38 | */ |
||
| 39 | public function __construct($user, $progress) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Get the channels the event should broadcast on. |
||
| 47 | * |
||
| 48 | * @return Channel|array |
||
| 49 | */ |
||
| 50 | public function broadcastOn() |
||
| 54 | } |
||
| 55 |