Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class Saved |
||
12 | { |
||
13 | use Dispatchable, InteractsWithSockets, SerializesModels; |
||
|
|||
14 | |||
15 | protected $guest; |
||
16 | |||
17 | protected $image; |
||
18 | |||
19 | /** |
||
20 | * Create a new event instance. |
||
21 | * |
||
22 | * @return void |
||
23 | */ |
||
24 | public function __construct(Guest $guest, $image) |
||
28 | } |
||
29 | |||
30 | public function getGuest(): Guest |
||
31 | { |
||
32 | return $this->guest; |
||
33 | } |
||
34 | |||
35 | public function getImage(): string |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * Get the channels the event should broadcast on. |
||
42 | * |
||
43 | * @return \Illuminate\Broadcasting\Channel|array |
||
44 | */ |
||
45 | public function broadcastOn() |
||
48 | } |
||
49 | } |
||
50 |