| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class AnalyticTracked implements ShouldBroadcast |
||
| 14 | { |
||
| 15 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
|
|
|||
| 16 | |||
| 17 | public $item; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Create a new event instance. |
||
| 21 | * |
||
| 22 | * @return void |
||
| 23 | * @param mixed $item |
||
| 24 | */ |
||
| 25 | public function __construct($item) |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get the channels the event should broadcast on. |
||
| 32 | * |
||
| 33 | * @return \Illuminate\Broadcasting\Channel|array |
||
| 34 | */ |
||
| 35 | public function broadcastOn() |
||
| 42 |