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 8
8
use Illuminate \Foundation \Events \Dispatchable ;
9
9
use Illuminate \Queue \SerializesModels ;
10
10
11
- class MenuBarContextMenuOpened implements ShouldBroadcastNow
11
+ class MenuBarRightClicked implements ShouldBroadcastNow
12
12
{
13
13
use Dispatchable, InteractsWithSockets, SerializesModels;
14
14
15
+ public function __construct (public array $ combo , public array $ bounds )
16
+ {
17
+ }
18
+
15
19
public function broadcastOn ()
16
20
{
17
21
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