| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | class GedComProgressSent implements ShouldBroadcast |
||
| 14 | { |
||
| 15 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
|
|
|||
| 16 | |||
| 17 | public $slug; |
||
| 18 | public $total; |
||
| 19 | public $complete; |
||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * Create a new event instance. |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function __construct($slug, $total, $complete) |
||
| 28 | { |
||
| 29 | $this->slug = $slug; |
||
| 30 | $this->total = $total; |
||
| 31 | $this->complete = $complete; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get the channels the event should broadcast on. |
||
| 36 | * |
||
| 37 | * @return \Illuminate\Broadcasting\Channel|array |
||
| 38 | */ |
||
| 39 | public function broadcastOn() |
||
| 42 | } |
||
| 43 | |||
| 44 | public function broadcastAs() |
||
| 47 | } |
||
| 48 | } |
||
| 49 |