123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace App\Events;
- use App\Models\PartnerModel;
- use Illuminate\Queue\SerializesModels;
- use Illuminate\Foundation\Events\Dispatchable;
- use Illuminate\Broadcasting\InteractsWithSockets;
- use Illuminate\Support\Facades\Config;
- /**
- * 创建卡片事件
- * Class CreatedPartner
- * @package App\Events
- */
- class CreatedPartner
- {
- use Dispatchable;
- use InteractsWithSockets;
- use SerializesModels;
- public $model;
- public $stackGlobalConfig;
- /**
- * Create a new event instance.
- *
- * @param PartnerModel $model
- */
- public function __construct(PartnerModel $model)
- {
- $this->model = $model;
- $this->stackGlobalConfig = Config::all();
- }
- }
|