2FAuth/app/Events/storeIconsInDatabaseSettingChanged.php

28 lines
530 B
PHP
Raw Normal View History

2024-10-18 14:28:45 +02:00
<?php
namespace App\Events;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Support\Facades\Log;
class storeIconsInDatabaseSettingChanged
{
use Dispatchable;
/**
* The new value of setting storeIconsInDatabase.
*/
public bool $newValue;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(bool $newValue)
{
$this->newValue = $newValue;
Log::info('storeIconsInDatabaseSettingChanged event dispatched');
}
}