| 1 | <?php |
||
| 2 | |||
| 3 | namespace Lenius\LaravelEcommerce\Events; |
||
| 4 | |||
| 5 | use Illuminate\Broadcasting\InteractsWithSockets; |
||
| 6 | use Illuminate\Foundation\Events\Dispatchable; |
||
| 7 | use Illuminate\Queue\SerializesModels; |
||
| 8 | |||
| 9 | class CartItemRemoved |
||
| 10 | { |
||
| 11 | use Dispatchable; |
||
| 12 | use InteractsWithSockets; |
||
| 13 | use SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 14 | |||
| 15 | |||
| 16 | public mixed $item; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Create a new event instance. |
||
| 20 | * |
||
| 21 | * @param mixed $item |
||
| 22 | */ |
||
| 23 | 2 | public function __construct($item) |
|
| 24 | { |
||
| 25 | 2 | $this->item = $item; |
|
| 26 | } |
||
| 27 | } |
||
| 28 |