michael-rubel /
laravel-couponables
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace MichaelRubel\Couponables\Events; |
||
| 6 | |||
| 7 | use Illuminate\Database\Eloquent\Model; |
||
| 8 | use Illuminate\Queue\SerializesModels; |
||
| 9 | use MichaelRubel\Couponables\Models\Contracts\CouponContract; |
||
| 10 | |||
| 11 | class CouponIsOverQuantity |
||
| 12 | { |
||
| 13 | use SerializesModels; |
||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
| 14 | |||
| 15 | /** |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | 2 | public function __construct( |
|
| 19 | public CouponContract $coupon, |
||
| 20 | public ?Model $redeemer = null, |
||
| 21 | ) { |
||
| 22 | 2 | } |
|
| 23 | } |
||
| 24 |