File tree Expand file tree Collapse file tree 3 files changed +55
-1
lines changed Expand file tree Collapse file tree 3 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Native \Laravel \Events \MenuBar ;
4+
5+ use Illuminate \Broadcasting \Channel ;
6+ use Illuminate \Broadcasting \InteractsWithSockets ;
7+ use Illuminate \Contracts \Broadcasting \ShouldBroadcastNow ;
8+ use Illuminate \Foundation \Events \Dispatchable ;
9+ use Illuminate \Queue \SerializesModels ;
10+
11+ class MenuBarClicked implements ShouldBroadcastNow
12+ {
13+ use Dispatchable, InteractsWithSockets, SerializesModels;
14+
15+ public function __construct (public array $ combo , public array $ bounds , public array $ position )
16+ {
17+ }
18+
19+ public function broadcastOn ()
20+ {
21+ return [
22+ new Channel ('nativephp ' ),
23+ ];
24+ }
25+ }
Original file line number Diff line number Diff line change 88use Illuminate \Foundation \Events \Dispatchable ;
99use Illuminate \Queue \SerializesModels ;
1010
11- class MenuBarContextMenuOpened implements ShouldBroadcastNow
11+ class MenuBarRightClicked implements ShouldBroadcastNow
1212{
1313 use Dispatchable, InteractsWithSockets, SerializesModels;
1414
15+ public function __construct (public array $ combo , public array $ bounds )
16+ {
17+ }
18+
1519 public function broadcastOn ()
1620 {
1721 return [
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Native \Laravel \Events \MenuBar ;
4+
5+ use Illuminate \Broadcasting \Channel ;
6+ use Illuminate \Broadcasting \InteractsWithSockets ;
7+ use Illuminate \Contracts \Broadcasting \ShouldBroadcastNow ;
8+ use Illuminate \Foundation \Events \Dispatchable ;
9+ use Illuminate \Queue \SerializesModels ;
10+
11+ class MenuBarRightClicked implements ShouldBroadcastNow
12+ {
13+ use Dispatchable, InteractsWithSockets, SerializesModels;
14+
15+ public function __construct (public array $ combo , public array $ bounds )
16+ {
17+ }
18+
19+ public function broadcastOn ()
20+ {
21+ return [
22+ new Channel ('nativephp ' ),
23+ ];
24+ }
25+ }
You can’t perform that action at this time.
0 commit comments