| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class SendEventToAnalytics implements ShouldQueue |
||
| 14 | { |
||
| 15 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
|
|
|||
| 16 | |||
| 17 | public $event; |
||
| 18 | public ?string $clientId; |
||
| 19 | public ?string $userId; |
||
| 20 | |||
| 21 | public function __construct($event, string $clientId = null, string $userId = null) |
||
| 26 | } |
||
| 27 | |||
| 28 | public function handle(EventBroadcaster $broadcaster) |
||
| 41 |