2024-10-18 14:28:45 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
|
|
|
|
|
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
|
|
use Illuminate\Support\Facades\Log;
|
|
|
|
|
2024-11-09 14:12:08 +01:00
|
|
|
class StoreIconsInDatabaseSettingChanged
|
2024-10-18 14:28:45 +02:00
|
|
|
{
|
|
|
|
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;
|
2024-11-09 14:12:08 +01:00
|
|
|
Log::info('StoreIconsInDatabaseSettingChanged event dispatched');
|
2024-10-18 14:28:45 +02:00
|
|
|
}
|
|
|
|
}
|