| 1 | <?php | ||
| 11 | class SettingUpdated implements ShouldBroadcast | ||
| 12 | { | ||
| 13 | use Dispatchable, InteractsWithSockets; | ||
| 14 | |||
| 15 | public $setting; | ||
| 16 | public $value; | ||
| 17 | |||
| 18 | /** | ||
| 19 | * Create a new event instance. | ||
| 20 | * | ||
| 21 | * @param $setting | ||
| 22 | * @param $value | ||
| 23 | */ | ||
| 24 | public function __construct($setting, $value) | ||
| 29 | |||
| 30 | /** | ||
| 31 | * Get the channels the event should broadcast on. | ||
| 32 | * | ||
| 33 | * @return Channel|array | ||
| 34 | */ | ||
| 35 | public function broadcastOn() | ||
| 39 | } | ||
| 40 |