Files
animethemes-server/app/Events/Admin/Setting/SettingEvent.php
T
paranarimasu 5517d4061e feat(admin): add settings to override config values (#448)
* feat(admin): add settings to override config values

* style: fix StyleCI findings

* refactor: use model constants in migration
2022-08-26 12:53:55 -05:00

34 lines
530 B
PHP

<?php
declare(strict_types=1);
namespace App\Events\Admin\Setting;
use App\Models\Admin\Setting;
/**
* Class SettingEvent.
*/
abstract class SettingEvent
{
/**
* Create a new event instance.
*
* @param Setting $setting
* @return void
*/
public function __construct(protected Setting $setting)
{
}
/**
* Get the setting that has fired this event.
*
* @return Setting
*/
public function getSetting(): Setting
{
return $this->setting;
}
}